@vctr-libs-public/customer-gtm
v0.1.3
Published
Vectary and Google Tag Manager communication bridge
Downloads
123
Readme
Google Tag Manager communication bridge
It serves as a communication bridge between iframe-embedded Studio-lite and the customer's website running GTM.
Build
yarn build to compile scripts to lib (to use in other packages)
yarn build:dist to build dist that can be published and embedded as scripts (e.g. using https://unpkg.com/)
Publishing
Update version in package.json, then:
yarn build
yarn build:dist
yarn npm publish --access publicUsage
The script can be embedded from unpkg: https://unpkg.com/@vctr-libs-public/customer-gtm@latest/dist/scripts/index.js — with latest or any other version
