Skip to content

Supplement etracker tagging

Content
Use of the etracker tag manager for etracker tags Capture dynamic content using variables Cookie variable Data layer variable URL variable DOM variable Use variables

Use of the etracker tag manager for etracker tags

Similar to the external tags, data collection can also be enriched with etracker analytics. The following options are available for this purpose:

Tags and triggers in the etracker tag manager
  • etracker Event: The CSS selector can be used to measure the click on a specific element on a page or when it enters the visible area.
  • etracker Onsite Campaign: If the success of website functions is to be measured, the click can be recorded in the same way as events using CSS selectors. Conversions, i.e. leads, orders etc. generated after the click, can be evaluated automatically.
  • etracker conversion: If a page view or event (micro or macro) represents a website goal, the conversion action can be selected from the recorded pages or using a CSS selector.
  • etracker dimension: When an interaction is recorded, a suitable user segment dimension can be created in order to define different user groups.

To activate the measurement via the tag, a corresponding trigger must be selected: Page view, element click or element view. The tag defines, so to speak, what the recorded data is used for, while the trigger defines the interaction for which data is to be recorded. The trigger associated with the tag can be selected from triggers that have already been created or newly defined.

Click on Add tag to activate the recording and processing. You can use the basic Last Visitors report for an immediate check, as the measured interactions are displayed directly without any additional processing time. Simply carry out a suitable interaction on the website. Please make sure that you have not excluded yourself from the count by opting out individually or by excluding an IP address range.

Capture dynamic content using variables

A tag can be used to record or transmit not only fixed values but also dynamic information from the website. Content from cookies, the data layer, DOM elements or URL parameters can serve as sources. In the following, we explain how the individual variable types are filled and then used.

To configure variables, click on tag manager in the menu and select the sub-item My variables.

etracker tag manager - my variables

Cookie variable

Use the cookie variable to use cookie values for filling tag parameters. In addition to a name for the variable, all you need to do is enter the cookie name.

Set up cookie variable in etracker tag manager

Data layer variable

Datalayer variables can be used to read out datalayers from a wide range of providers. To do this, enter the name of the data layer and the name of the corresponding variable and assign a name for the variable.

Set up data layer variable in etracker tag manager

URL variable

Two options are available for the URL variable. If GET parameter is selected, the value of a specific GET parameter can be used. To do this, simply enter the name of the desired GET parameter. If Query is selected, all content contained after the question mark is taken from the URL.

Set up URL variable in etracker tag manager

DOM variable

For DOM variables, the element from which the value is to be obtained must first be specified. This is done via the usual selection between CSS selector, element ID and element class.

Set up DOM variable in etracker tag manager

You can then define whether the variable should be filled with the text of this element or whether the value of an attribute from this element should be used. If attribute value is selected, the attribute name must be specified. This also makes it possible to read so-called data-attributes.

Use variables

To use a variable in a tag, the variable must be selected in the corresponding tag. In addition to fixed designations, integrated variables are available for selection that obtain the value from the element to which the trigger refers. You can also use your own variables, which can be filled from the four sources mentioned above and are dependent on the selected trigger.

How to use the variables set up