Documentation
Technical reference
For developers and Google Tag Manager experts: what the module pushes into the dataLayer, what the provided containers hold and how to plug in your own code.
This section describes how Kixell Tag works under the hood. You do not need it to follow the Get started path.
Start with The e-commerce dataLayer: the other pages build on it. For a tour of the module screens, see The module back office.
For another module to follow the visitor's choice in the banner, see the Modules and consent section.
In this section
- The e-commerce dataLayer How Kixell Tag fills window.dataLayer in GA4 format: the push order on each page, the data blocks (ecommerce, s, ud, pixels, kixelltag) and the fields of a product.
- The provided GTM containers The content of the three Kixell Tag 4.6.0 JSON files: the folders of each container, the variables to fill in and the naming conventions.
- JavaScript API Drive your scripts with the Kixell Tag JavaScript API: kixelltagOnReady, the popupVisible and kixelltag_consent_* events, and the hasConsent() method to check consent to a partner.
- Measure clicks with data-kt attributes Measure clicks on a button or a link to Google Analytics 4 by adding HTML attributes: data-kt-dc, data-kt-en and up to 5 event parameters.
- dataLayer events The list of events Kixell Tag pushes into the dataLayer (view_item_list, add_to_cart, purchase…), then how to send your own events to GA4 with kixelltag_custom_event, without touching GTM.
- Server-side enrichment Enrich the Kixell Tag dataLayer products on the server with the actionKixellTagEnrichItems PrestaShop hook: parameters, events passed and rules.
- Example module (kixenrichdemo) The full code of a PrestaShop module that enriches the Kixell Tag dataLayer items through the actionKixellTagEnrichItems hook, with its check log.
- The module back office A tour of the Kixell Tag back office: access from PrestaShop, platform tiles, consent and Google Reviews, top bar and Settings menu.