Skip to main content

UTM parameters and traffic source targeting

UTM targeting helps you show specific messages to people coming from emails, ads, or social links

Updated this week

With Claspo, you can choose to show or hide widgets depending on how someone arrived at your site. If your link includes tags like /utm_source/ or /utm_campaign/ — which are often added to emails, ads, or partner promotions — Claspo can use that info to tailor what visitors see.

Note

Claspo does not perform traffic source attribution. It only uses UTM data that’s currently stored in the cookie. If the UTM parameters are missing — for example, if the visitor came directly, or via untagged organic traffic — the widget will not be able to target based on source.

Things to know

UTM tags are saved for the entire session — not just the first page.

This means if a visitor lands on your site through a link like https://example.com/?utm_source=pixel and then continues browsing to another page (like https://example.com/page2), the utm_source=pixel tag won’t appear in the new URL — but it’s still tracked in the background for the duration of the session.

Why it matters: you can still target or personalize content based on where the visitor came from, even if they’ve clicked around your site. This helps you keep your marketing logic consistent and relevant throughout their visit.

How to set it up in Claspo

1. Go to your widget’s Triggering section.

2. Under On pages, click Add condition.

3. Choose one of the UTM types:

  • UTM source — traffic source that tells you where the visitor came from (like Facebook, Instagram, etc.). Use this to show widgets only to users from specific sources.

  • UTM medium — traffic type or channel. Defines how the traffic arrived (CPC, email, social). For example, you can display a different widget for email newsletter traffic.

  • UTM campaign — this is the custom label you gave your marketing campaign. Great for running themed widgets that match the look and goal of the campaign.

  • UTM term — keyword that is usually used in paid search (Google Ads), this shows the keyword a visitor searched. Use it to align widget messaging with user intent.

  • UTM content — indicates which specific link or ad the user clicked on (such as blue button or header banner). Using it, you can show a widget tied to users who clicked on the blue CTA button in your email.

4. Select how the value should be matched (equals, contains, starts with, etc.).

5. Type the value you want to target (like ‘email’, ‘header_banner’, etc.).
6. Save the condition.

Did this answer your question?