Question

I am setting up a RegEx goal in Google Analytics and my RegEx is not working.

I try to track all DOMAIN/de/spiel-gestalten?...

I use this RegEx:

    \/de\/spiel-gestalten(\?)(.*)

Does somebody see in this RegEx what I am writing wrong?

Was it helpful?

Solution

You shouldn't have to escape the forward slashes:

/de/spiel-gestalten/\?(.*)

This would capture:

/de/spiel-gestalten/?a;slkdjf;lkajsd;flkj
/de/spiel-gestalten/?id=blah
etc.....
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top