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.
Then activate the UTM tags slider so that parameters about traffic sources start transferring to the analytics system.
Important
For correct automatic channel labeling (email, Viber, 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.
Required tags are:
$type
– message type (trigger/promo);$mediaType
– message channel (email/Viber);$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.
If other keys are required for recognition by your analytical system, activate the Additional tags slider and click the New key button.
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.
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:
- 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:
Make the UTM tags slider inactive.
When creating a letter in the editor, enter links with your tags:
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.
- Prescribing tags for a specific letter.
Go to the top bar and click the three dots button → choose the Specify link settings item.
Enter the required values without the $ sign opposite the corresponding keys. Do the same in the Additional 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.
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.
App Inbox
Link settings in App Inbox messages are similar to those in email. You can enable or disable URL tracking, UTM tags, and add custom tags.
To customize the link in the App Inbox, click on the gear icon in the link field.
SMS, Web Push, Mobile Push and Telegram
The automatic UTM tag switcher in Web Push and Telegram messages is enabled by default. The same variables are used as those set in the Links section of the account settings.
If you want to customize your values, then disable system tagging and write a link with a pre-generated UTM tag in the post editor.
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.
UTM tags for mobile push notifications are not created automatically, they must be specified for every single message.
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.
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
.
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.
Updated 14 days ago