Tag Shopify Orders With UTM Source and Campaign
Shopify records the UTM parameters a customer arrived with, but it keeps them inside the order's customer journey where you can't filter or export them. This workflow reads each new order's customer journey, pulls out the utm_source, utm_medium and utm_campaign values, and adds them as order tags, so you can filter orders and build reports by the campaign that drove them.
How it works
4 steps to see which campaign drove every order, right in your order list
Shopify Order Created (Trigger)
Shopify Order Created (Trigger)
Code Custom Code
Code Custom Code
Filter
Filter
Shopify Order Add Tag
Shopify Order Add Tag
Ready to see which campaign drove every order, right in your order list
Get setup in 4 minutes.
FAQs
Where does Shopify store UTM parameters?
In the order's customer journey, which records the visits before the purchase and the landing page URL of each one. The workflow reads the UTM values from there.
What happens to orders with no UTM parameters?
The filter stops the workflow, so direct and untracked orders get no UTM tags.
Can I report on the tags?
Yes. Filter the Shopify orders list by a tag, or export orders with their tags to a spreadsheet to compare campaigns.
Personalize this template
Customize this workflow even further:
You're in good company
"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."
"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."
"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"
see which campaign drove every order, right in your order list
4 min setup • Fully supported if you need help
