Skip to main content

Attribution

Updated yesterday

Toggle Attribution on to add UTM tags and custom parameters to your link. These are stored as order metafields when a customer completes a purchase, letting you track which links and campaigns drive sales.

UTM Parameters

Field

Description

Example

Source

The referrer β€” where the traffic comes from

google, klaviyo, instagram

Medium

The marketing medium

email, cpc, banner, sms

Campaign

Promo code or slogan

spring_sale, welcome-series

Term

Identify paid keywords

running+shoes, summer+deals

Content

Differentiate ads or links

logolink, textlink, hero-banner

Referral

Track referral source

Affiliate ID, partner code

Custom Parameters

Click Add parameter to add custom key-value pairs. You can add as many as you need. Each one is stored as a custom_ prefixed metafield on the order.

Use custom parameters for:

  • Influencer or affiliate identifiers

  • Campaign variants

  • Internal tracking codes

  • Anything else you want attached to the order

Where the Data Goes

When a customer purchases through your link, the attribution data is saved as metafields on the Shopify order:

  • cl_utm_source, cl_utm_medium, cl_utm_campaign, cl_utm_term, cl_utm_content

  • cl_ref

  • cl_custom_* for each custom parameter

  • cl_shortcode β€” The link that made the sale

You can view these on individual orders in your Shopify admin, or access them from any tool that reads Shopify order metafields.

Use consistent naming conventions across all your links (always lowercase, use hyphens or underscores)

Set attribution before sharing β€” you can't retroactively tag past clicks

Did this answer your question?