Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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
Community Advisor

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
Community Advisor

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

URL contains /fr/

then next page view

URL contain /en/