5

我想使用谷歌分析访客流工具,但它没有显示任何特定页面。所有访问都在一个大块“/”中。如果我点击“组详细信息”页面列出就好了。

我的网站使用诸如 mypage.com?p=products 之类的 url 参数在页面之间切换。我设法设置了分析,以便它理解这一点并在“内容”页面和任何地方工作。我怎样才能使它也与“访问者流”一起显示特定页面?

这可能是同一个问题:Google Analytics: 100% Drop off fromlanding page

编辑:这是我的页面:[已编辑]

编辑2:刚刚注意到我页面上的链接在“?”之前缺少斜杠。将添加斜线并报告回来。

编辑3:虽然我猜这是一种改进,但它并没有解决问题。我到处都在使用绝对链接 (http:/mysite.com/?p=contact)。我应该尝试相对链接以使其正常工作吗?

4

1 回答 1

3

Yes, you need to put a / before the ? in your links or else Analytics could interpret your full URL as the domain/sub-domain and not report any page paths or levels (like you're observing).

Additionally, are you sure the Analytics script is firing whenever a new page is loaded? Clicking through your site it looks like the base page template may not be reloading whenever you click to a different page (only the content is reloaded). If this is the case and the Analytics script is part of your base template, it would only fire once when the visitor first enters the site and load the page template and never again. Since Google Analytics calculates pageviews and time on site/page based on the difference in time between when the _trackPageview() is fired, it could explain your problem.

I would suggest moving your Analytics script to a portion of the markup that is reloaded every time someone clicks to a new page to see if this does the trick.

于 2012-11-14T00:34:32.450 回答