Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

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.

share|improve this answer
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 Dec 10 '12 at 19:53

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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