在 Google Analytics 中组合类似的 URL(稍加改动) [英] Combining similar URLs in Google Analytics (with a twist)

查看:21
本文介绍了在 Google Analytics 中组合类似的 URL(稍加改动)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多相似的网址,我想将它们合并到 Google Analytics(分析)中.我已经设法合并了很多.但是我现在遇到了一些问题.

I have a lot of similar URLs that I would like to merge in Google Analytics. I've managed to merge a lot of them already. However I've now run into a bit of a problem.

我有类似这样的网址;

文章/4567/编辑
文章/87478548/编辑

article/4567/edit
article/87478548/edit

文章/82984786/add
文章/8374/添加

article/82984786/add
article/8374/add

我将如何合并这些 URL 以便它们显示为;

How would I go about merging these URLs so that they display as;

文章/编辑
文章/添加

article/edit
article/add

非常感谢任何帮助.

EDIT:我还需要能够让 GA 将每篇文章显示在名为article/"的表格的一行中,而不管它后面的任何 ID.我不希望表格看起来像:

EDIT: I also need to be able to have GA display every article in one line on the table called "article/" regardless of any ID that is after it. I don't want the table to look like:

文章/12342 1,000 次查看
文章/7465890 900 次浏览

article/12342 1,000 views
article/7465890 900 views

我需要它显示为:

文章/1,900 次浏览

article/ 1,900 views

推荐答案

您可以创建一个高级过滤器,为您组合相关部分:

You can create an Advanced filter that combines the relevant parts for you:

输出将是 /article/edit/article/add,并删除它们之间的所有内容.

The output would be /article/edit or /article/add, with everything and anything between those removed.

编辑:如果你只想要一切,不管/edit/add/12341/edit/7305/add>, /whatever/edit, 显示为 /article,然后你可以像这样改变你的过滤器:

EDIT: If you just want everything, regardless of /edit, /add, /12341/edit, /7305/add, /whatever/edit, to show up just as /article, then you can just change your filter like this:

字段 A:请求 URI = (/article)/.*

Field A: Request URI = (/article)/.*

输出到:请求URI = $A1

Output to: Request URI = $A1

这将转换以下示例:

  • /article/123/edit ->/article
  • /article/2345/add ->/article
  • /article/anything ->/article

这篇关于在 Google Analytics 中组合类似的 URL(稍加改动)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆