2

Here's what I mean. We've got Google Analytics set up to track all pages visited on the website. If I direct somebody to "custom-page.html?username=leroyJenkins" will a hit be recorded for that full URL or just for "custom-page.html"?

Thanks!

4

2 回答 2

3

默认情况下,Google Analytics 设置将记录为“custom-page.html?username=leroyJenkins”。并且两个具有不同 GET 参数的 URL 将显示为两个参与页面。例如,URL 的 custom-page.html?username=leroyJenkins 和 custom-page.html?username=tomSmith 将被跟踪为两个不同的页面

但是,如果您想独立于 GET 参数跟踪页面 custom-page.html 的访问,您可以在 Administration-> Profile Settings->Exclude URL Query Parameters 中排除它们

https://support.google.com/analytics/answer/1010249?hl=en

于 2013-08-17T20:23:43.450 回答
1

它将使用查询字符串跟踪并报告完整的 URL。所以在你的情况下,你的 GA 报告中会有 ueserpage.htm?username=bob 和 userpage.htm?fred 等。不过有一些方法可以排除这种情况。只需在 GA 仪表板注释中进入您网站的个人资料选项卡并排除您需要的任何查询字符串

此外,您可以设置一个高级过滤器来告诉 GA 用字段名称替换 URI 字段中出现的内容 - 更多信息请参见:http: //iqcontent.com/blog/2007/06/dealing-with-query-谷歌分析中的字符串/#sthash.5THsnV7D.dpuf

于 2013-08-17T20:27:12.933 回答