Skip to content

sergey-snow/magento1-googletagmanager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Tag Manager for Magento 1.x with Data Layer

Google Tag Manager allows you to quickly and easily add or update AdWords, Google Analytics, Facebook Tags and other code snippets on your website without editing any site code.

#Features Quick and easy setup Add tag via XML layout Add tag via event/observer Data layer support

###Data layer attributes

  • pageType (i.e catalog_category_view)
  • list (cart, category, detail, other)

####Customer

  • customer.isLoggedIn
  • customer.id
  • customer.groupId

####Category

  • category.id
  • customer.category

####Product

  • product.id
  • product.name
  • product.sku

####Cart

  • cart.hasItems
  • cart.items[].sku
  • cart.items[].name
  • cart.items[].price
  • cart.items[].quantity
  • cart.total
  • cart.itemCount
  • cart.hasCoupons
  • cart.couponCode

####Transaction

  • transactionId
  • transactionAffiliation
  • transactionTotal
  • transactionShipping
  • transactionProducts[].sku
  • transactionProducts[].name
  • transactionProducts[].price
  • transactionProducts[].quantity

About

Google Tag Manager (GTM) with Data Layer for Magento 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 90.9%
  • HTML 9.1%