Skip to content
Gallery
Holod - Analytics Tracking Plan
Share
Explore
Implementation documents

icon picker
Data Atributes

enriching information added to HTML elements
1. Buttons
Add the following data-attribute to any buttons that need to be tracked. Value for the data-attribute can be for example provided from a text field in the CMS (Content Management System). Fof the value use one language for all different language versions.
<div|span|img ... data-gtm_button_cta="{value from cms, or other enriching info (optional)}" ... > ... </div|span>

2. Banners
Add the following data-attribute to any banners that need to be tracked. Value for the data-attribute can be some kind of description of specific banner and perhaps its version. Fof the value use one language for all different language versions.
<div|span|img ... data-gtm_banner="{value - enriching info (optional)}" ... > ... </div|span>

3. Article Content
Add the following data-attribute to the HTML element that contains the article/blog/podcast content it self. Value for the data-attribute can be also some kind of description like a name of the article and its version. Fof the value use one language for all different language versions.
<div|span|img ... data-gtm_content="{name of the article, or other enriching info (optional)}" ... > ... </div|span>

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.