Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.