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

Filtering on patterns in URLs


Level 1
Level 1



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 Reply


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/