GithubHelp home page GithubHelp logo

fabiofeichtinger / google-tag-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vtex-apps/google-tag-manager

0.0 0.0 0.0 481 KB

VTEX app that integrate with Google Tag Manager

License: GNU Affero General Public License v3.0

TypeScript 98.69% HTML 1.31%

google-tag-manager's Introduction

đŸ“ĸ Use this project, contribute to it or open issues to help evolve it using Store Discussion.

Google Tag Manager

All Contributors

The VTEX Google Tag Manager app is a first party integration to the Google Tag Manager solution.

google-tag-manager-app

Configuration

It is possible to install the VTEX native GTM app in your store either by using App Store or the VTEX IO Toolbelt.

Using VTEX App Store

  1. Access the Apps section in your account's admin page and look for the Google Tag Manager box;
  2. Then, click on the Install button;
  3. You'll see a warning message about needing to enter the necessary configurations. Scroll down and type in your GTM ID in the Google Tag Manager field.
  4. Click on Save.

ℹī¸ Access the Google Tag Manager page and login to you account in order to find out what is your account GTM ID. The number your should use is the one provided by the Container ID column.

Using VTEX IO Toolbelt

  1. Install the [email protected] app. You can confirm that the app has now been installed by running vtex ls again.
  2. Access the Apps section in your account's admin page and look for the Google Tag Manager box. Once you find it, click on the box.
  3. Fill in the Google Tag Manager field with your GTM ID.
  4. Click on Save.

ℹī¸ Access the Google Tag Manager page and login to you account in order to find out what is your account GTM ID. The number your should use is the one provided by the Container ID column.

After installing the app, you are ready to use your GTM as usual by accessing your account dashboard directly on the Google Tag Manager page.

Restrictions

In order to avoid performance problems and unforeseen behavior, our VTEX IO Google Tag Manager solution uses the native GTM blacklist feature. You can read more about this feature on the Google Developer Guide.

We currently blacklist the html ID, which automatically blocklists all the tags, variables and triggers of the type customScripts. The main consequence of this blocklist is that Custom HTML tags will not be triggered.

⚠ī¸ The HTML blacklist is VTEX Google Tag Manager app's default. At present, it is not possible to disable it.

Most of the widely used Custom HTML tags are integrations with third party services, like Customer Chat, Analytics, Remarketing and Pixel tags. If your store needs a Custom HTML for one of those cases, the integration should be transformed into a VTEX IO Pixel App. If one does not yet exist, you can request the Pixel App creation on the VTEX IO Store Discussion board.

Check out below the full list of tags and variables that are blocked in VTEX IO Google Tag Manager solution below:

Blocked tags

  • Custom HTML Tag - html
  • Eulerian Analytics Tag - ela
  • SaleCycle JavaScript Tag - scjs
  • Upsellit Global Footer Tag - uslt
  • Upsellit Confirmation Tag - uspt

Blocked variables

  • Custom JavaScript Variable - jsm

Check out a list with all the GTM available tags on the Google Developer Guide.

Contributors ✨

This project follows the all-contributors specification. Contributions of any kind are welcome!

google-tag-manager's People

Contributors

klzns avatar lucasecdb avatar guifromrio avatar andreldsa avatar guerreirobeatriz avatar jgfidelis avatar jeymisson avatar brunoabreu avatar ccamargo2294 avatar dependabot[bot] avatar iaronaraujo avatar vtex-io-ci-cd[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.