سؤال

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?

هل كانت مفيدة؟

المحلول

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.....
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top