Skip to content
Gallery
Holod - Analytics Tracking Plan
Share
Explore
Documentation of the dataLayer

icon picker
dataLayer: Parameters


dataLayer Parameters
3
Context
Parameter Name
Included in Events
Description
Example Values
Required
Data Type
Not used
2
page_language
Language of the page.
en, sk
Text
page_type
Type of the page.
homepage
Text
6
content_author
page_view
Author of the article. Possible multiple values.
example1|example2|example3
Text
content_category
page_view
Category of the content. Possible multiple values.
example1|example2|example3
Text
content_has_image
page_view
If the article contains an image.
True if contains, false if not.
Boolean
content_has_video
page_view
If the article contains a video.
True if contains, false if not.
Boolean
content_published
page_view
Date of the article publication.
DD|MM|YYYY
Text
content_type
page_view
Type of content
article|blog|podcast
String
0
interaction_option
article_interaction (share)
article_interaction (content_consumed)
article_interaction (link_click)
article_interaction (related_article)
article_interaction (social)
Interaction option. It can be used to send additional info about interaction.
If interaction_type = “share” then interaction_option should be name of the social network where it was shared to (facebook, twitter).
If interaction_type = “related_article” then interaction_option can be name of the related article.
Text.
media_length
multimedia_interaction (open_multimedia)
multimedia_interaction (stop_multimedia)
Multimedia length in milliseconds.
150000
Number
media_start_length
multimedia_interaction (open_multimedia)
Starting consume the multimedia at milliseconds.
1000
Number
media_stop_length
multimedia_interaction (stop_multimedia)
Consumed multimedia length in milliseconds.
2000
Number
media_type
multimedia_interaction (open_multimedia)
multimedia_interaction (stop_multimedia)
Type of the multimedia.
video, podcast, audio
Text
media_url
custom_interaction (open_image)
multimedia_interaction (open_multimedia)
multimedia_interaction (stop_multimedia)
URL of the target multimedia.
example
Text
4
count_of_search_results
search
Count of search results. When there are no results for the search there should be 0.
25
Number
donate_type
Click Donate
#r136
Type of redirection. On this site are two options:
In-site version, when user is redirect to
Out-site version, for the user who have russain credit cards, then user is redirect to https://holod.news
In-site, Out-site
string
search_category
search
Search category.
Text
search_term
search
Search term.
Text
5
payment_method
purchase
Type of the payment.
article, period
Text
payment_option
purchase
Type of the payment.
article, period
Text
period
purchase
Time period of the subscription.
Text
transaction_id
purchase
Unique identifier of the transaction. Ideally, this will match the identifier in your backend system.
T12345
Text
value
purchase
Item value.
Number
1
interaction_type
pwa_interaction (PWA challenge)
pwa_interaction (PWA install)
pwa_interaction (PWA install button click)
custom_interaction (open_image)
enquiry (enquiry_view)
enquiry (enquiry_completed)
custom_interaction (notification_permission)
multimedia_interaction (open_multimedia)
multimedia_interaction (stop_multimedia)
article_interaction (share)
article_interaction (content_consumed)
article_interaction (link_click)
article_interaction (related_article)
article_interaction (social)
Type of the interaction.
Text
Bas
1
1

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.