Mobile app version of vmapp.org
Login or Join
Martha676

: How can I query over a page name at google analytics I am running a website that every customer has a different query string attached to the url plus one random guid attached at the end:

@Martha676

Posted in: #GoogleAnalytics #PageViews

I am running a website that every customer has a different query string attached to the url plus one random guid attached at the end:

/myPage/?cust=one&randomGuid
/myPage/?cust=two&randomGuid
/myPage/?cust=three&randomGuid


I would like to measure how many page views I have using only the cust query string parameter discarding the random part of the string.

The regex for this job would be cust=(.*?)& but I don't know how to apply this in google analytics

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Martha676

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

You can implement that in Google Analytics with a "search and replace view filter".


What filters can do
How to set up and manage filters
An example filter that munges the Request URI similar to what you want to do.


Basically you want to implement a view filter that removes the random guid. You would have to write a regular expression to match the guid and replace it with nothing.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme