Campaign tracking is pivotal; it enables marketers to evaluate the efficacy of various strategies and channels. UTM parameters are particularly essential as they provide granular details about the source, medium, and campaign effectiveness.
However, when this data is not automatically integrated into a centralized system, it can become a tedious and error-prone process to manually collate and analyze it.
Retrieving UTM data from Shopify and storing it in Baserow enables oy to do more with this data. For example you could build a campaign database in Baserow and automatically add campaign revenue to it using this workflow template.
This template will help you:
- Automatically retrieve UTM parameters from Shopify orders using the Shopify Admin API
- Process marketing data through n8n
- Store this data into Baserow, providing you with a dynamic, responsive base for campaign tracking and decision-making
This template will demonstrate the follwing concepts in n8n:
- use the Schedule trigger node
- use the GraphQL node to call the Shopify Admin API
- split larger incoming datasets into n8n items with the Split node
- transform the data structure with the Set node
- control flow with the If node
- store data in Baserow with the Baserow node
How to get started?
- Create a custom app in Shopify get the credentials needed to connect n8n to Shopify
This is needed for the Shopify Trigger
- Create Shopify Acces Token API credentials n n8n for the Shopify trigger node
- Create Header Auth credentials:
Use X-Shopify-Access-Token as the name and the Acces-Token from the Shopify App you created as the value.
The Header Auth is neccessary for the GraphQL nodes.
- You will need a running Baserow instance for this. You can also sign up for a free account at https://baserow.io/
Please make sure to read the notes in the template.
For a detailed explanation please check the corresponding video: https://youtu.be/VBeN-3129RM