Merging 2 pages

714 views
Skip to first unread message

Jaap Habraken

unread,
Oct 14, 2013, 4:31:19 PM10/14/13
to digital-analyti...@googlegroups.com
Dear all,
I want to merge 2 pages on my website that provide the same data .
"/Jaaps_website//Welcome_files/widget1_markup.html"
and
"/"

Are the same pages. How can I make sure that Google Analytics treats them as the same page?

Thank you very much!
Jaap

Analytics Academy Course Staff

unread,
Oct 15, 2013, 11:26:19 AM10/15/13
to digital-analyti...@googlegroups.com
Hi Jaap,

It is possible to do this, but this is a bit advanced. There two ways to achieve this.

1) via the tag, on the page "/Jaaps_website//Welcome_files/widget1_markup.html", you can tell the tag to ignore the page URL and pass a value explicitly when calling _trackPageView. For instance, instead of having the code _gaq.push(['_trackPageview']); , you can use the _gaq.push(['_trackPageview', '/']); This will tell GA to use '/' as the url of the page instead of "/Jaaps_website//Welcome_files/widget1_markup.html". Be sure to only change the code on the page "/Jaaps_website//Welcome_files/widget1_markup.html" - otherwise, all of your page url's will be overridden.

2) via the profile admin interface, you can create a filter to tell GA to replace the page URL "/Jaaps_website//Welcome_files/widget1_markup.html" to "/". Here's a screenshot of how this can be done.

Hope that helps. Good luck!

Lothaire from the Google Analytics Academy Staff


Reply all
Reply to author
Forward
0 new messages