Reputation: 3496
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!
Upvotes: 2
Views: 4563
Reputation: 160
It will track and report out on the full URL with the query string. So in your case there will be ueserpage.htm?username=bob and userpage.htm?fred, etc. in your GA reports. There are ways to exclude this though. Just go into you profile tab for your site in the GA dashboard note and exclude any query strings you need
Also, you can set up an advanced filter to tell GA to replace what appears in the URI field, with the field name - See more at: http://iqcontent.com/blog/2007/06/dealing-with-query-strings-in-google-analytics/#sthash.5THsnV7D.dpuf
Upvotes: 1
Reputation: 1019
By default Google Analytics settings it will be recorded "custom-page.html?username=leroyJenkins". And two URL with different GET-parameters will be shown as two participal pages. For example, URL's custom-page.html?username=leroyJenkins and custom-page.html?username=tomSmith would be tracked as two different pages
But if you want to track visits of page custom-page.html independently of GET-parameters, you can exclude them at Administration-> Profile Settings->Exclude URL Query Parameters
https://support.google.com/analytics/answer/1010249?hl=en
Upvotes: 3