开发者

Google analytics page name

Hey guys, Is it possible to use another name for the page that is currently being tracked instead o开发者_Python百科f the url.

The reason I ask is that I have not implemented friendly url slugs instead we have Products/Details/100 or whatever the page is called. So when you login to google analytics you can see 10 000 hits on Products/Details/100 but you do not know what product that is without looking in the DB.

So are there any ways of injecting a page name into the google tracking script or should I just implement friendly url slugs?

Thanks in advance


I think it would be easier and safer if you just implemented the URLs.

After that, read this post about canonical page.


When you make the initial call to the pageTracker you can specify your own url if you don't wish to use the current request. See the documentation on the trackPageview() method for details.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜