Filtering on patterns in URLs

Avatar

Avatar

rb8

Avatar

rb8

rb8

09-06-2020

Hi,

 

Slightly complex problem. I'm looking to detect changes in language from a referring URL to a current URL. For example, if I have /fr/ in my referring, I'd like to identify the number of times I have /en/ in the current URL.

 

Any advice on how to do this would be appreciated!

 

Thank you,

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Andrey_Osadchuk

MVP

Avatar

Andrey_Osadchuk

MVP

Andrey_Osadchuk
MVP

09-06-2020

If the URL is captured in a custom dimension, build a segment as follows:

URL contains /fr/

then next page view

URL contain /en/