Expand my Community achievements bar.

Join us for our next community Coffee Break on February 28th! Four of our Analytics Champions will be joining us to discuss Summit tips, best practices, and any of your Analytics questions!
SOLVED

Filtering on patterns in URLs

Avatar

Level 1
Level 1

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,

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

URL contains /fr/

then next page view

URL contain /en/

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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

URL contains /fr/

then next page view

URL contain /en/