kingfisherdirect/magento2-google-tag-manager

Google Tag Manager extension for Magento 2

v0.1.2 2022-01-19 13:09 UTC

This package is auto-updated.

Last update: 2024-04-19 18:37:37 UTC


README

This module adds Google Tag Manager once it's configured and sends basic data layer information

Features

  • Adds script and iframe for Google Tag Manager
  • Adds dataLayer for following pages/events:
    • Every Page - page type + currencyCode
    • Product Page - ecommerce.detail
    • Search Page - search query and result count
    • Checkout Success - ecommerce.purchase

It should be easy to add more data. See the code for this.