Category Archives: Tag Manager

Example to build datalayer for Google Enhanced Ecommerce


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


Google Analytics Ecommerce tracking via Tag Manager


Enhanced ecommerce tracking with tag manager

Image 20


  1. Tag Manager for enhanced-ecommerce
  3. e-commerce tips for tag manager
  4. Google Analytics for ecommerce:
  5. Unlock the Data Layer: A Non-Developer’s Guide to Google Tag Manager
  6. Implementing E-commerce tracking via 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