Tag orders based on the landing page UTM Parameters within the order

UTM parameters are tags that you can add to the end of a URL that you can send to your customers (for example, https://www.yourstorename.com/ ?utm_source=emailcampaign).

When a customer clicks the link, the tags are sent back to Google Analytics for tracking and reporting purposes.

Our UTM Parameters from the order criteria can be used to analyze the UTM parameters that were part of the URL when the customer initially visited your store. You can set up the UTM Parameters from the order criteria to analyze and match the value of some, or all of the following parameters: 

  • utm_campaign
  • utm_source
  • utm_medium
  • utm_content
  • utm_term

How to use the criteria

To create a workflow using this criteria, click on the Create New Workflow button from the main Workflows view:

Define the trigger to determine at which point you would like the workflow to run:

Click the Add criteria to my workflow button:

The UTM Parameters from the order criteria can be found within the Other category in the Select criteria pop-up window:

Click the Use in your workflow button to select this criteria.

You will then be presented with options to match the UTM Parameters. Fill some or all of them in to meet the needs of your workflow:

You can then choose a condition to try and match the value of the UTM parameter:

Here is what each option within the conditions dropdown will do:

is: Does the value of this attribute exactly match the string you have specified?

is NOT: Does the value of this attribute NOT match the exact string you have specified?

contains: Does the value of this attribute contain the string you have specified anywhere in the value?

does NOT contain: Does the value of this attribute NOT contain the string you have specified anywhere in the value?

in: Does the value of this attribute match exactly any of the comma separated list of values? The field accepts a comma separated list of potential values.

Select the option that suits your needs.

Define the tag name/names that you would like to be applied when the UTM Parameter conditions you have specified are found on the order (don't forget to click the Add fixed tag button:

Saving and naming your workflow

It's worth giving your workflow a name to help you identify it at a later date, so add a workflow name in the New Workflow section, check the summary of your workflow and if happy, either Test your Workflow against an existing order or hit Save Workflow:

If you want to create a different tag for each different potential UTM Parameter, then just create a new workflow for each UTM Parameter combination.

Dynamic Tags

UTM Parameters can also be applied to orders without needing to create any workflow criteria.

Dynamic Tags will use UTM Parameter values as tags onto the order.

Dynamic Tag options can be found at the bottom of the workflow builder page:


You will find the UTM options within the dropdown list:


Why might UTM Parameters not appear on orders?

UTM Parameters could be missing from an order for the following reasons:

  • Apps and private browsers are preventing cookie tracking.
  • The order was originally a draft order.
  • The order did not come from your online store.

Is this workflow compatible with Backdating?

Yes, this workflow is available to backdate.

What is backdating?

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us