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 |
|
Medium | The marketing medium |
|
Campaign | Promo code or slogan |
|
Term | Identify paid keywords |
|
Content | Differentiate ads or links |
|
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_contentcl_refcl_custom_*for each custom parametercl_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
