@vtex/gatsby-plugin-google-tag-manager
TypeScript icon, indicating that this package has built-in type declarations

0.373.50 • Public • Published

Description

This plugin integrates gatsby-theme-store with Google Tag Manager.

How to install

Just run npm i @vtex/gatsby-plugin-google-tag-manager in the root of your code.

Available options (if any)

  • gtmId required: the ID of the Google Tag Manager container.
  • dataLayerConfig optional: this options informs what are the options that you want to have in your data layer. By default we pass [{ 'gtm.blacklist': ['html'] }]. If you want to be able to use Custom HTML tags in Google Tag Manager, use [] in this option.

When do I use this plugin?

When you want to use Google Tag Manager and have the Google Enhanced Ecommerce events.

Examples of usage

How to run tests

How to develop locally

How to contribute

Package Sidebar

Install

npm i @vtex/gatsby-plugin-google-tag-manager

Weekly Downloads

15

Version

0.373.50

License

MIT

Unpacked Size

40.3 kB

Total Files

28

Last publish

Collaborators

  • jardelymaris
  • denissilvavtex
  • eduardocesb
  • enzomerca
  • vinhags
  • zaedyvtex
  • filafb
  • bastotec
  • arthurtriis1vtex
  • geraldo.fernandes
  • georgebrindeiro
  • filipewl
  • emersonvtex
  • rodrigo.albuquerque
  • viniciuslouzadavtex
  • npedrosovtex
  • myllena.alves
  • mendescamara
  • mauro.takeda
  • lpolon
  • gianvittorio
  • eduardoformiga
  • vcnovaes
  • dpzvtex
  • vtexlab-user
  • wender
  • natamelo
  • mairatma
  • mayzabel
  • augusto.lazaro
  • rafarubim
  • gustavorosolem
  • arthurepc
  • jeymisson
  • victorhmp
  • lurian
  • arturpimentel
  • anitavincent
  • brunojdo
  • lucasecdb
  • matheusps
  • emersonlaurentino
  • viniagostini
  • lucasaarcoverde
  • lariciamota
  • icazevedo
  • fabits
  • mateuspontes
  • gmantiqueira
  • vitorlgomes
  • rodolfoams
  • policarpo
  • marcelovicentegc
  • maianabt
  • jeffersontuc
  • hiagolcm
  • william.silva