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

icon picker
Page View Tracking


Page View dataLayer Events
7
Search
page_view
/_suyyL
page_view
Context
/_suyyL
Popis udalosti
Push this objects to datalayer whenever the page loads. Update the also the user object, also whenever the visitor logs in, logs out, registers, interacts with age_checker, checkout, makes a purchase etc. If the page contains some kind of content (article|blog|podcast|etc.), fill the values for content object parameters. Otherwise the values should be empty.
Príklad kódu
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ page: null }); // Clear the previous page object.
window.dataLayer.push({
"event": "page_view",
"page":{
"page_language": "en",
"page_type": "homepage",

},
"content":{
"content_type": "article|blog|podcast"
"content_category": "example1|example2|example3",
"content_author": "example1|example2|example3",
"content_published": "DD|MM|YYYY",
"content_has_video": true,
"content_has_image": true

}
});
Parametre udalosti
Search
1
2
3
4
5
6
Parameter Name
Description
Data Type
Example Values
Context
content_type
Type of content
String
article|blog|podcast
content_category
Category of the content. Possible multiple values.
Text
example1|example2|example3
content_author
Author of the article. Possible multiple values.
Text
example1|example2|example3
content_published
Date of the article publication.
Text
DD|MM|YYYY
content_has_video
If the article contains a video.
Boolean
True if contains, false if not.
content_has_image
If the article contains an image.
Boolean
True if contains, false if not.
There are no rows in this table
Show hidden columns

Page View dataLayer Parameters
3
Search
content_author
Author of the article. Possible multiple values.
content_category
Category of the content. Possible multiple values.
content_has_image
If the article contains an image.
content_has_video
If the article contains a video.
content_published
Date of the article publication.
content_type
Type of content
page_language
Language of the page.
page_type
Type of the page.
content_author
Context
Description
Author of the article. Possible multiple values.
Example Values
example1|example2|example3
Data Type
Text
Included in Events
Search
1
Názov udalosti
Popis udalosti
Context
page_view
Push this objects to datalayer whenever the page loads. Update the also the user object, also whenever the visitor logs in, logs out, registers, interacts with age_checker, checkout, makes a purchase etc. If the page contains some kind of content (article|blog|podcast|etc.), fill the values for content object parameters. Otherwise the values should be empty.
/_suyyL
There are no rows in this table
Show hidden columns

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.