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 eSputnik. 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 eSputnik 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 eSputnik 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
eSputnik 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, Viber, Mobile Push and Telegram
The automatic UTM tag switcher in Web Push, Viber, 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
- 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. - 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.
- 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
.
-
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. -
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 about 2 months ago