Traffic source
This condition lets you target visitors landing on the website through some specific traffic source. You can for example target visitors that clicked on button in your newsletter (as long as this sets utm tags). You can also for example easily target marketing campaigns or lets say visitors coming in to the website from an Facebook ad.
You do this by setting up a Traffic source condition and then choose the match type for your source.
Example
In the example above we target visitors who visit the website from an email summer campaign by using a contains match. Read more about match types.
How Lyftio handles Traffic source
The Lyftio script uses the same approach to traffic source as Google Analytics. UTM tags in the URL have priority. After that the script checks document.referrer when the visitor comes in to the website and keeps that the whole session.
The prioritization order
-
Landing via UTM
Traffic source = utmSource -
Landing via external (no UTM)
Traffic source = external domain -
Landing vithout traffic source
Traffic source = (direct) -
Internal navigation SPA
Traffic source stays as last external (or keeps internal) -
Reload after 30 min session timeout
GA4-like: only update if external; internal ignored -
Reload after 24h
Always reset traffic source (new external or (direct) if empty)
Always test your Audience in Preview before activating the experiment to make sure that your experiment only runs on pages that you intented.