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:

The composition of the digitalData object depends on the type of the page (digitalData.page.type) and the content of the page.

The digitalData.page, digitalData.user, digitalData.cart, digitalData.version and digitalData.website variables 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!