Pass UTMs from WordPress to Shopify Checkout

UTM attribution overview

Shopify UTM Tracking Integration only records UTMs that land on the checkout URL at purchase time. UTM Grabber keeps them in cookies on your site. This page explains how to pass that data through before the customer pays.

What to expect

Many stores run WordPress for content and Shopify for checkout. UTMs must survive that handoff. Shopify records UTMs present in the checkout URL.

Steps

Setup

  1. Use utm-out on Buy buttons that point to your Shopify store
  2. For cart permalinks, append utm_source, utm_campaign, gclid from handl_utm in JavaScript
  3. Confirm UTMs in Shopify order details or Analytics

Append UTMs with utm-out

UTM Grabber rewrites the link with cookie values. Details: utm-out class guide.

For webhook-based attribution after purchase, see Send Shopify Order UTMs via Webhook.


Revision #1
Created 24 June 2026 17:40:15 by Leman
Updated 24 June 2026 17:40:15 by Leman