Help

How to target by traffic source (UTM)

Show a popup only to shoppers who came from a certain ad, email or social post, using the UTM tags on the link they clicked, this visit or on their very first visit.

You paid for that click. Show the shopper the offer from the ad they tapped, keep signup popups away from people who came from your own emails, and know which channel first brought each shopper in.

TL;DR

In your campaign's Rules tab, choose I'll choose the moment. In Show to shoppers who match all of these, click Add condition and pick UTM source, UTM medium or UTM campaign, or the (first ever visit) version of each. Choose is, is not, contains or does not contain, type the value and save.

What you can target

Popups can target the UTM source, medium and campaign of the link a shopper arrived on this visit, or of their very first visit.

ConditionWhat it reads
UTM sourceThe utm_source on the link they clicked this visit, such as facebook or klaviyo
UTM mediumThe utm_medium this visit, such as email, cpc or social
UTM campaignThe utm_campaign this visit, such as spring_sale
UTM source (first ever visit)Where they came from the very first time they visited
UTM medium (first ever visit)The utm_medium from their very first visit
UTM campaign (first ever visit)The utm_campaign from their very first visit

Step 1 · Switch to your own rules

Open your campaign and go to the Rules tab. In When should it show?, choose I'll choose the moment.

UTM conditions are part of your own rules. Campaigns on Smart don't use them. See How Smart targeting works.

Step 2 · Add a UTM condition

In the Show to shoppers who match all of these card, click Add condition and choose a UTM condition from the traffic source group.

Step 3 · Choose how to match

Pick is, is not, contains or does not contain, type the value, and save the campaign.

Matching isn't case-sensitive, so Facebook and facebook are the same.

  • is matches the exact value: UTM campaign is spring_tote.
  • contains matches part of it: UTM campaign contains spring catches spring_tote_uk and spring_tote_us.
  • is not and does not contain leave a group out: UTM medium is not email hides a signup popup from people who clicked one of your emails.

This visit or first ever visit?

  • This visit. The values from the link a shopper landed on stay with them while they keep browsing. They last 30 minutes from their last page view. A new link with UTM tags replaces them.
  • First ever visit. Saved the first time a shopper arrives with UTM tags, and never replaced by a later link. It's kept in that shopper's browser, so it starts over on a new device or if they clear their browser.

Examples

  • Match the ad's offer. Show a "Free tote with your first order" popup where UTM campaign is spring_tote, and your usual welcome popup to everyone else.
  • No signup popup for subscribers. Add UTM medium is not email to your signup popup.
  • Follow up with ad-acquired shoppers. Use UTM medium (first ever visit) is cpc for a popup on their later visits.

Common pitfalls

  • The popup never shows. Open your ad's link yourself and check the UTM tags in the address bar match what you typed. A typo or an underscore versus a hyphen is enough to miss.
  • It shows to everyone. Check the condition is in Show to shoppers who match all of these, and that the campaign uses I'll choose the moment, not Smart.
  • First ever visit is empty for me. It's only saved when the very first visit came with UTM tags. Test in a fresh private window with a tagged link.