Arthur Flower
Arthur Flower

Reputation: 335

Google Analytics: Exclude URL Query Parameters when using URL rewrite

I need to exclude some parameters to aggregate properly the pages of my website. I know there is "Exclude URL Query Parameters" and that's OK.

The problem is when I use the URL rewrite. Example.

I have tried with a custom filter for renaming URLs, but it seems to be ignored. Can anyone help me with the correct syntax?

Please, see this screenshot: Filter Information

Upvotes: 0

Views: 900

Answers (1)

Andrew C
Andrew C

Reputation: 562

I doubt any of your URIs start with "fbphoto" (^fbphoto). "/fbphoto" is more likely (^/fbphoto)

If the intent is to rewrite all photo URLs with /fbphoto/, here's the syntax to use:

Search String:
^/fbphoto.*

Replace String:
/fbphoto/

Upvotes: 1

Related Questions