How do I remove only some values of a URL parameter in Google Analytics?
Posted
by
Iain Hallam
on Pro Webmasters
See other posts from Pro Webmasters
or by Iain Hallam
Published on 2012-06-11T00:10:41Z
Indexed on
2012/06/17
3:25 UTC
Read the original article
Hit count: 241
google-analytics
I'm using Google Analytics on a DokuWiki site, which uses a URL parameter to decide what to do with the current page:
/page
is equivalent to:
/page?do=show
1) I want to see some of these "modes", but mostly I'd like them counted as viewing the bare page URL itself. The following are the only ones I want to see separately:
/page?do=login
/page?do=backlinks
/page?do=revisions
/page?do=subscribe
How do I collapse the unwanted modes to the page itself (/page
)?
2) Some modes do something that should really not have a page attached, such as:
/page1?do=sitemap
/page2?do=sitemap
How do I get these to show up without the page part (/?do=sitemap
)?
3) What do I do with the search mode? Can I remove the page part from this too, and still find out which page people used the search function on?
/page?do=search&id=query+text
© Pro Webmasters or respective owner