开发者

Is there a way in Google Analytics to check the javascript hashes typed in the URL?

I mean, for example an user types an address like this

http://www.mydomain.com/#hi_guys

Where may I handle this kind of hashes in Goog开发者_如何学Gole Analytics?

Thank you.


the _setAllowHash allows GA to look at the hash data for parameters, but I don't think that it forces GA to report on the hash part of the URL. However, you can pass a parameter into the _trackPageview method which is recorded rather than the real path, so in this case you could do something like

pageTracker._trackPageview('/ajax/hi_guys');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜