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 analyse the UTM parameters that were part of the url when the customer initially visited your store. You can set up to the UTM Parameters from the order criteria to analyse 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:

1-create-new-workflow-button.jpg

Define the trigger to determine at which point you would like the workflow to run: 4-order-created-trigger.jpg

Click the Add criteria to my workflow button:

2-workflow-criteria-section-button.jpg

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

utm-criteria.jpg

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:

utm_parameters.jpg

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

mceclip4.png

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:

fixed-tag.jpg

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:

named-workflow.jpg

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 just apply UTM Parameter values as tags onto the order.

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

mceclip6.png

You will find the UTM options within the dropdown list:

dynamic_utm.jpg

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