SEO, AdWords, affiliates, advertising, and promotions
Hey there, I am wanting to find specific orders that were purchased via a UTM e.g. utm_campaign, utm_content, utm_term for headless shopify
I can't find a way to do this. Is it possible? If so, how?
Please suggest
Thanks in advance.
Hi @Ashish93
You can find specific orders purchased via UTM parameters, such as utm_campaign, utm_content, utm_term, etc., in your headless Shopify store using Shopify's API and Google Analytics.
Here's how you can do it:
In your Shopify store, enable Google Analytics and make sure that UTM tracking is enabled.
Create a custom report in your Google Analytics account showing all the UTM parameters, the order number, the order total, and any other relevant data you want to track.
Use the Shopify API to query your store's orders and extract the UTM parameters for each order.
Match the UTM parameters extracted from the Shopify API with the UTM parameters in your Google Analytics custom report.
Once you have the matching UTM parameters, you can extract the order details, such as order number, order total, and other relevant data from the Shopify API.
Following these steps, you can easily find specific orders purchased via UTM parameters in your headless Shopify store.
Sampy Mishra | Customer Success Manager @ AdNabu
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Try our Nabu for Google Shopping Feed from Shopify App Store.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024