Merging reports for URLs with and without /

1,768 views
Skip to first unread message

Dave Reckess

unread,
Oct 18, 2013, 9:53:24 AM10/18/13
to digital-analyti...@googlegroups.com
Is there a way to merge reporting of visits to a single page despite whether or not there is a backslash at the end of the url? I am seeing two separate page reports for our page ending in "/bucket-play/" and "/bucket-play"

I would like to be able to combine both urls into the same page report. Can this be done? Moreover, can this be done universally for all pages, or do I have to set it up for each individual page?

Thanks!

Analytics Academy Course Staff

unread,
Oct 18, 2013, 11:36:08 AM10/18/13
to digital-analyti...@googlegroups.com
Hi Dave,

This can probably be done by creating an advanced filter to remove the last '/' from the URL. See the screenshot below:

What this filter is doing is telling GA to extract the part of the URL that's before the last / and use it to overwrite the URL value. You might want to test this filter on a testing profile first before applying it to your main profile. 

But you also might want to check the configuration of your webserver and make sure each page can be accessed only at a one URL. Ideally, you should define what should be the canonical URL for your page (eg: /bucket-play) and make sure your server automatically redirects via a 301 redirect to /bucket-play when a user types /bucket-play/

Hope that helps.

Lothaire from the Google Analytics Academy Staff


Dave Reckess

unread,
Oct 18, 2013, 1:39:39 PM10/18/13
to digital-analyti...@googlegroups.com
Thanks!
Reply all
Reply to author
Forward
0 new messages