1

Under ContentPages in Google Analytics, it says that unique page views are counted for each unique combination of page URL and page title. Is the hash field a part of the URL in this context? Are /myUrl and /myUrl#section1 counted as two different page views?

2 Answers 2

2

No, it shouldn't count it as 2 different URLs. While I'm not 100% on this, you can always check yourself by searching for it in Analytics.

Just go to the ContentSite ContentAll Pages and use the search bar in the middle of the page to search for /myUrl#section1 — if nothing comes up then you know the stats are being rolled into /myUrl.

1
  • Thanks, and good tip :) I can't find any URLs with hash values in the list, so I guess they're not counted as multiple page views.
    – Jørgen
    Commented Dec 10, 2012 at 19:53
2

The reason for this is that your browser does not reload the page, when you use hash as a means of local link / on-page anchor.

The Google Analytics code is per default only executed when the page is loaded—and browsers doesn't reload the page when you click on a hash.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.