Setting Up UTM Tags

UTM tags are code fragments consisting of a parameter and its value. They are added to the URL to maintain the efficiency of marketing campaigns through analytics systems, such as Google Analytics (GA).

You do not need additional integration with analytics systems to obtain UTM tags in Reteno. The tags generate automatically and trigger as soon as the user clicks on the link. If your analytics system is already set for UTM processing, you are only to track the results.

In Reteno account you are free to:

  • use auto-generation of UTM tags or disable it in the particular message or the entire account;
  • add your values for UTM tags within the email and App Inbox messages;
  • set UTM tags for all or individual language versions of multilingual email, App Inbox and web push messages.
  • set custom UTM tags and rules for their substitution globally for the entire account and single email and App Inbox messages.

For a global UTM tags parameters configuration go to Settings → Links in your Reteno account.

Links Messages tags page with the Settings menu and Links navigation highlighted, showing default UTM tag keys and values

Then activate the UTM tags slider so that parameters about traffic sources start transferring to the analytics system.

Links Messages tags page with the UTM tags toggle highlighted in its enabled state
šŸ“˜

Important

For correct automatic channel labeling (email, mob push, etc.), the utm_medium field should be filled with the $mediaType value (as it’s set by default), otherwise, campaigns in GA will be counted to one channel specified in this field.

Links Messages tags page with the utm_medium key and $mediaType value row underlined

Required tags are:

  • $type – message type (trigger/promo);
  • $mediaType – message channel (email);
  • $messageName – the name of message;
  • $messageId – message identifier;
  • $contactId – contact identifier;
  • $messageTags – tag added to message.

Optional tags are:

  • $messageInstanceId – message instance identifier. When sending a campaign, each letter, in addition to its messageId, also has an additional id – messageInstanceId. This is the message id of a particular campaign. For example, you are going to send 1 email message to 5 different groups, which means one letter will be sent 5 times. Then all 5 campaigns will have the same messageId but different messageInstanceId. It is useful when you have to compare the effectiveness of 1 message sent to different segments.
  • $dateStart – campaign start date.
  • $groupName – segment name.
  • $contactInfoHash – gives encrypted email + SMS + contact name combination. For example: ZT1pdmFuLmtoCXxlem92QGVzcTV0bmlrLmNvbSZwPTM4MFk1MzY1OTM3MyZuRT. Decryption on the side of your site is needed.
  • $messageLang – message language, when using multilanguage functionality.
  • $strategyGroupName – strategy group name, where contact was found when campaign sending started.
  • $workflowId – id of workflow in which the message was sent.

If you need to track any of these parameters, specify it in the corresponding Value field next to the required Key tags.

Links Messages tags page with the utm_source value field underlined

If other keys are required for recognition by your analytical system, activate the Custom tags slider and click the New key button.

Links Messages tags page with the Custom tags toggle and New key button highlighted

Two fields for the Key – Value pair will be shown. Here you can enter the necessary keys and tag values as variables with the $ sign or your own static expressions. By clicking on the gear icon, you can select values ​​from a list.

Custom tags section showing a Key-Value pair with the gear icon highlighted

Setting up UTM tags in a particular message

Email messages

Reteno generates suitable keys for Google Analitycs by default. But there are two ways to use your tag values:

  1. Pasting pre-generated UTM tagged links into your letter.

Open additional letter parameters by clicking on the three dots button at the top bar. Then choose the option Specify links settings:

Email editor with the three dots menu open and Specify link settings option underlined

Make the UTM tags slider inactive.

Specify link settings panel with the Track URL's and UTM tags toggles, with the UTM tags toggle highlighted

When creating a letter in the editor, enter links with your tags:

Email editor Button block settings with the Link field highlighted showing a custom URL

This method is useful, for example, when you need to track the conversions of different buttons or email elements.

šŸ“˜

Important

When sending a campaign, the priority is always given to a manually entered value, even if the UTM tag switcher is active.

  1. Prescribing tags for a specific letter.
    Go to the top bar and click the three dots button → choose the Specify link settings item.
Email editor with the three dots menu open and Specify link settings option underlined

Enter the required values without the $ sign opposite the corresponding keys. Do the same in the Custom tags section. If necessary, you can create a new key and enter an additional parameter. After saving, all that you entered will be applied to the current letter.

Specify link settings panel with the Custom tags toggle highlighted and a custom key-value pair underlined

Click Apply to save the settings, or Restore default values to return the basic parameters.

If you set up tracking of UTM tags within an email message but didn't disable tags at the account settings, then the tag generated within an email will have priority for the analytics system.

šŸ“˜

Important

When a letter is copied, its UTM tags are also copied. The statistics of two or three letters will be included in one report so that the measuring impact of a particular message becomes impossible. If you enter tags manually, be sure to check them in every email. Remember, a new email created from a template will inherit its tags. If you turn off Track URL’s switcher, Google Analytics won’t get any data.

Specify link settings panel with the Apply button highlighted

Web Push, Mobile Push, App Inbox

The link settings in these message types are similar to those in Email. You can enable or disable URL's tracking, UTM tags, and add custom tags.

Let’s take Mobile Push as an example to review the setup process.

  1. Go to the Advanced settings section and click the Advanced settings button.
Mobile push Additional settings panel with the Specify link settings button highlighted, alongside a push notification preview
  1. In the pop-up window, enable the following switches:
  • Track URL's
  • UTM tags
Specify link settings panel with the Track URL's and UTM tags toggles highlighted, both enabled
  1. Enter the required values next to the relevant keys (without the $ sign). If needed, add custom tags, create new keys, and enter the necessary parameters.

If you're sending multilingual messages, enable the Use to all language versions switch to use the same UTM settings for all languages.

Specify link settings panel with the Use for all language versions toggle and Apply button highlighted
  1. Click Apply.

To use custom values, insert a link with a pre-generated UTM tag. You can create it manually or use any available UTM tag generator.

Mobile push message settings with a pre-generated UTM tagged link underlined in the Link field, alongside a push notification preview
🚧

Important

When sending a campaign, the priority is always given to a manually entered value, even if the UTM tag switcher is active.

When creating an SMS message use Enable UTM tags for this message switcher to make the automated UTM tags work. Make sure that $mediaType variable is set as a value of the UTM channel. When sending an SMS campaign it will be transformed into sms value.

You are free to use your UTM-tagged links. Shortening them by the bit.ly service is recommended.

FAQ

1. Is it possible to use several links with different UTM tags in one email message, will not the data be lost?

If there are clicks on these links, they will be displayed in the analytics system.

2. I don't see sales data in Google Analytics, how can I fix it?

Google Analytics must be set to eCommerce to track transaction and revenue data. Please contact your GA specialist to ensure that eCommerce tracking is set properly.

Google Analytics acquisition report with the Conversions eCommerce dropdown highlighted, showing Transactions and Revenue columns

3. How to find a transaction by a particular customer in Google Analytics?

You can track information about transactions of a particular subscriber by the Contact Id tag if it is specified as a parameter in the UTM tag as $contactId.

Links Messages tags page with the utm_content value $contactId underlined

4. How soon will the data be sent to Google Analytics?

Data is sent to the analytics system immediately after the user clicks on the link in the message.

5. How to track purchases by one certain channel in Google Analytics?

Go to Google Analytics, and select Traffic Sources → All Traffic → Channels.
Read more about tracking campaign performance in the guide.

Google Analytics Acquisition menu with All Traffic Channels selected and the Email channel row highlighted

Did this page help you?