UTM Parameters

UTM parameters are specific tracking codes that you can add to URLs to track them when users access those URLs. With the GeoIP app, you can utilize the UTM parameters functionality to forward the existing UTM parameters with the URL or add custom parameters in the app to forward with the URL.

Let's understand the UTM parameters with the help of an example:

  1. This URL is clean and has no parameters: https://spicegems.com

  2. This is the URL with the UTM parameters: https://spicegems.com?utm_source=GeoIP_Country_Redirect&utm_medium=US_Redirect_Rule&utm_campaign=popup

These are the initials of the UTM parameters in the URL:

  • utm_source

  • utm_medium

  • utm_campaign

  • utm_term

  • utm_content

1. UTM Forward

UTM Forwarding ensures that any custom tracking parameters added to links (outside the app) are forwarded to the destination store after redirection.

How It Works:

  • When a visitor arrives with UTM parameters (e.g., ?utm_source=google&utm_campaign=spring_sale), enabling UTM Forwarding ensures these parameters are preserved after redirection.

  • This helps maintain accurate tracking in marketing tools like Google Analytics and Facebook Ads.

If the UTM forward is disabled, only the UTM parameters defined in the app will add in URL while redirection.

2. Custom UTM parameters

In the custom UTM parameters, you can add the custom parameters within the app. There are five fields in this block.

  • UTM Source

  • UTM Medium

  • UTM Campaign

  • UTM Term

  • UTM Content

You can create the required UTM parameters to forward them with the URL to the destination store for tracking.

Scenarios of UTM Forwarding and Custom Parameters

Functioning of UTM forwarding when used with or without Custom Parameters:

1. UTM Forwarding enabled and used with Custom Parameters

UTM forwarding is enabled, and we have added the custom UTM parameters in the rule:

  • An existing UTM campaign runs on the source store (line-item.myshopify.com) with the following UTM parameters.

  1. utm_campaign=spring_sale

  2. utn_medium=web

  3. utm_source= google

We have added the following Custom UTM parameters in the redirect rule:

  • UTM Source - NA

  • UTM Medium - NA

  • UTM Campaign - NA

  • UTM Term = roger

  • UTM Content = louis

This is the URL with existing UTM parameters

https://line-item.myshopify.com?utm_source=google&utm_medium=web&utm_campaign=spring_sale

  • After redirection, the app's custom UTM will merge with the existing UTM available in the URL.

  • The destination URL will look like the below URL

https://sg-localapp.myshopify.com?utm_campaign=Final_sale&utm_source=Instagram&utm_medium=autoredirect&UTM_Term=roger&UTM_Content=louis

Note: The priority of existing UTM parameters (created outside the app) will be higher than the custom parameters created in the app.

In case an existing UTM (for example, utm_campaign=Final_sale) is missing in the URL but created in the app (utm_campaign=advertisement), the app will add and forward the custom UTM to the destination store with the URL.

2. UTM Forwarding Enabled used without Custom Parameters

If UTM forwarding is enabled and no custom parameters are added in the app:

  • An existing UTM campaign runs on the source store (line-item.myshopify.com).

  1. utm_campaign=spring_sale

  2. utn_medium=web

  3. utm_source= google

Original URL: https://line-item.myshopify.com?utm_source=google&utm_medium=web&utm_campaign=spring_sale

  • After redirection, the destination URL maintains the existing UTM parameters:

Redirected to: https://sg-localapp.myshopify.com?utm_source=google&utm_medium=web&utm_campaign=spring_sale

If you need any help, please contact us at [email protected]

Last updated