Skip to content

Magento 2 module for Google Tag Manager and basic dataLayer integration

License

Notifications You must be signed in to change notification settings

kingfisherdirect/magento2-google-tag-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 Module: Google Tag Manager

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.

About

Magento 2 module for Google Tag Manager and basic dataLayer integration

Resources

License

Stars

Watchers

Forks

Packages

No packages published