1.6K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
Guide Me

Analytics for Pages Within "#" Subfolder Structure

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi All,


I have a GA-tracked website with pages laid out using the folder structure Note the "#" subfolder. In GA, when I access Behaviour -> Site Content -> All Pages, it looks like data for the "#" subfolder (and nested subfolders) are simply pooled under the main "/" (see screenshot below). Is it possible to have data breakdown for each of the subfolders within the "#" subfolder?


Thanks in advance for your kind assistance.


Screen Shot 2017-01-26 at 9.59.40 AM.png

1 Expert replyverified_user

Analytics for Pages Within "#" Subfolder Structure

Top Contributor
# 2
Top Contributor

Hi :-)

If you change the last line of the tracking code from 
ga('send', 'pageview');
ga('send', 'pageview', { 'page': location.pathname + + location.hash});

it should work.

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Analytics for Pages Within "#" Subfolder Structure

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Hi Bronwyn,


Thanks for the tip! It led me to this guide that helped me successfully set up URL fragment tracking via GTM.