Category Archives: Tag Manager

Example to build datalayer for Google Enhanced Ecommerce

Reference:

Config Pixel Purchase in Google Tag Manager

  1. Install Pixel base
    Add this line to tell Tag Manager this tag is loaded.

    Image 4
  2. Get ready your advanced ecommerce datalayer of google
  3. Create a variable (Custom javascript) called “Transform Total for Pixel” to transform data from datalayer for pixel purchase event
  4. Create a new Tag – Purchase (Custom HTML)
    Image 2
    Image 3
  5. Config trigger (Recommended triggered by event instead of page view)
    Image 5

Reference

Google Analytics Ecommerce tracking via Tag Manager

 

Enhanced ecommerce tracking with tag manager

Image 20

Reference:

  1. Tag Manager for enhanced-ecommerce
  2. https://developers.google.com/tag-manager/enhanced-ecommerce#overview
  3. e-commerce tips for tag manager
    https://www.simoahava.com/analytics/ecommerce-tips-google-tag-manager/
  4. Google Analytics for ecommerce:
    https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce
  5. Unlock the Data Layer: A Non-Developer’s Guide to Google Tag Manager
    https://www.lunametrics.com/blog/2013/10/15/unlock-data-layer-google-tag-manager/
  6. Implementing E-commerce tracking via tag manager:
    https://www.optimizesmart.com/implementing-e-commerce-tracking-google-tag-manager/

Tag Manager + Pixel

Install Google Tag Manager in web

Create Tag for Pixel base code

Create Tags for Pixel built-in events

 

Product Catalog for Pixel

Google Product Category and Product Type

Reference: