Skip to main content

Add UTM Tracking Link in Email Notifications

Add UTM Tracking Link in Email Notifications in AfterShip Tracking: follow setup steps, configure key options, verify behavior, and troubleshoot workflow.

Plans: All plans Platforms: All platforms

Overview

This tutorial explains how you can use UTM tracking links and append UTM parameters in AfterShip Tracking’s email notification links to gain deeper insights and track the performance of your email notifications.

You'll need a configured Google Analytics account to use these parameters for data analysis in Google Analytics.

What is UTM tracking

UTM tracking is a way to track traffic sources and user behavior on a website by adding parameters to the destination URLs. Add UTM tracking in your email notification links if you’d like to track sources and conversions from emails in Google Analytics.

Add UTM parameters to URLs

You can add the UTM parameters to your destination URLs as follows:

  • Separate the parameters, such as utm_source and utm_medium, from the URL with a question mark

  • List the parameters and values as pairs separated by an equal sign

  • Separate each parameter-value pair with an ampersand

  1. Go to Notifications > Emails and SMS in the AfterShip Tracking admin.

  2. Select the notification template to which you want to add the UTM parameters.

  3. Click Edit > Edit email template.

  4. Navigate to the Destination URL field of the email’s CTA button.

    Depending on how you've configured the email body, CTA buttons, and destination URL placement will differ for each template.

  5. Add the UTM parameters mentioned below after the |TRACKING_URL| merge tag

Example:

  1. |TRACKING_URL|?utm_source=aftership&utm_medium=email

6. Click Save.

View data in Google Analytics

You can find the "Session source/medium" in your Google Analytics account under the Traffic Acquisition report.

Did this answer your question?