Overview
Most online stores have a similar set of page templates, events and funnels. Therefore, the process of integration of the digitalData object is similar for all ecommerce projects. In this section, we will analyze the composition of the window.digitalData object for all typical pages of the online store:
- Home page
- Product listing page
- Search results page
- Product page
- Cart page
- Checkout page
- «Thank You» page
- Content page
The composition of the
digitalDataobject depends on the type of the page (digitalData.page.type) and the content of the page.
The
digitalData.page,digitalData.user,digitalData.cart,digitalData.versionanddigitalData.websitevariables must be declared and filled on every page.
Other body
This document was last updated on April 13, 2020. If you notice any gaps, outdated information or simply want to leave some feedback to help us improve our documentation, please let us know!