Search through more than a hundred articles on every aspect of User.com

Aneta Koreba
Written by Aneta Koreba

How to store your UTM's in User.com?

Find out how to save all information about the user's UTM entrances in a user's profile


Introduction

UTMs (Urchin Tracking Module) are parameters that you can add to your links to track the effectiveness of online marketing campaigns across traffic sources and publishing media. They are commonly used in emails, to track the click on those links. The UTM parameters in a URL identify the campaign that refers traffic to a specific website, and attributes the browser's website session and the sessions after that until the campaign attribution window expires to it. The parameters can be parsed by analytics tools and used to populate reports. The same way you can push them to your User.com application and track more information about your users.

Example URL, UTM parameters highlighted, after the question mark (?):

How to create links with UTM parameters?

A very useful tool is UTM Builder from Google: https://ga-dev-tools.appspot.com/campaign-url-builder/. Thanks to it you will easily create links with UTM parameters.

The available UTM parameters are:

  • utm_source – required parameter
  • utm_medium - required parameter
  • utm_campaign - required parameter
  • utm_term
  • utm_content

To create such custom attributes in the User.com app, go to:

Settings > App settings > User data & events > User attributes > Add sample attributes > Campaign measurement > Add to my list:

Now, those custom attributes with "utm_" will store the value of the last UTM entrance for your user.

How to map "utm_campaign" attribute to "first_utm_campaign" attribute?

As explained before, "utm_" attributes can store the last utm's only. Therefore, you might want to save in your app the very first one.

We've prepared the automation template, that is mapping your "utm_" attribute to another custom attribute "first_utm_".

Here you can check our automation idea that you can implement in your app just with a few clicks with the full instruction.

How to send an event "utm_entrance" via GTM?

You can do it in two ways:

  1. Create the variables and the tag by yourself with the help of the below screenshots
  2. Or upload the container we have already prepared, to your GTM, with just a few clicks:

DOWNLOAD THE CONTAINER HERE: https://pastebin.com/yDbWwuSs

  • save it as .txt file
  • go to your GTM account > Admin section > Import conatiner

The container includes:

  • variables defined
  • tag created, named: UE - event - utm_entrance, that will pass to user.com an event called "utm_entrance" with the event attributes same as defined variable:

Submit changes in your workspace. Done :)

Related Articles

Categories: