Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
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/