Ionut Cirja
Ionut Cirja

Reputation: 117

Google Analytics search and replace filter takes out just the first found match

I'm trying to use google analytics search and replace filter just to remove some ids from the url.

Not sure why, but it just replaces the first found entry. My url is something like /path/[objectid]/another-path/[objectid] and I need it transformed to /path/another-path, but after applying my filter will be /path/another-path/[objectid].

enter image description here

Thanks

Upvotes: 0

Views: 63

Answers (1)

Michele Pisani
Michele Pisani

Reputation: 14189

The replacement seems to be performed on only one occurrence (although the regex is correct), however you can create another identical filter and apply that to the View as well, in this way the second occurrence will also be replaced.

Upvotes: 1

Related Questions