UTM Tracking Codes

This article is intended for advanced users and our partners as it requires advanced web development or Salesforce admin or programming knowledge. While the functionality is part of StoreConnect, we do not provide end user assistance to implement it beyond our help documentation. If you need help or are unsure on how to do this, you can hire one of our StoreConnect partners.

Urchin Tracking Module (UTM) codes were originally developed by Urchin, a web statistics analysis company that was acquired by Google Inc. and since evolved into Google Analytics.

UTM tracking codes are very common and broadly used to track website clicks and the performance of marketing activities.



How StoreConnect and UTM tracking codes work together

A UTM tracking code looks something like this:


The UTM code is made up using a variety of UTM parameters. All of which can be added to any url and detected on a StoreConnect store, indicating the source of the referral.

The UTM parameters supported in StoreConnect are:

When UTM Tracking is enabled, for visitors arriving at a StoreConnect site, any UTM parameters present in the URL1 link they use to get to the store, are saved against their browser session and will remain there during the checkout process over any number of visits to that store until the checkout is complete or the user restarts their browser.

If the visitor accesses the store again with other UTM parameters, these will be added to their existing ones. Thereby building a complete story of how the customer arrived at the purchase of their order.

When a Cart is updated by that visitor (items are added or the quantity is changed) any UTM parameters in their browser session are also added to their Cart. If the Cart is cleared, the UTM parameters are removed from the Cart.

When a visitor places an Order, or if the cart is saved as an abandoned cart, the UTM parameters in the Cart are saved against the Order, viewable through the Order Campaign related list in the Order layout. This is how campaigns can be tracked from the referral through to Order.

UTM Tracking and Privacy Complicance

If you have enabled Privacy Compliance for your store, UTM Tracking will no longer work unless you have a cookie record for UTM Tracking and the visitor accepts that cookie. See Privacy Compliance for instructions on how to configure that.

In Summary

If this feature in enabled, StoreConnect collects the UTM codes automatically.

UTM Change Page Layout

As the UTM campaign information is now tied to a specific order, it will end up being a very accurate set of ad source cart attribution data for you to properly optimise your ad spend without having to compile reports from multiple ad providers.

UTM Related Order Details



  1. URL: Uniform Resource Locator (URL) is a website address. It tells a web browser such as Safari, Chrome, or Firefox where the web page can be found on the internet. A URL is similar to a Path. 


Back to Documentation