dsdeboer/google-tag-manager

This package is abandoned and no longer maintained. The author suggests using the charpand/google-tag-manager package instead.

A Google Tag Manager extension for Bolt.

Installs: 91

Dependents: 0

Suggesters: 0

Security: 0

Type:bolt-extension

v1.0.2 2022-02-05 16:39 UTC

This package is auto-updated.

Last update: 2022-09-18 19:49:45 UTC


README

The Bolt extension automatically adds the code snippets needed to run Tag Manager on your site.

To get it set up, create a Container ID on Google Tag Manager website, then add it extension config file. The extension will do the rest.

Snippets can be added to the frontend and/or backend using the configuration file.

Read more about setting up Tag Manager.

Enabling

To enable Google Tag Manager include the following config to config/extensions/dsdeboer-googletagmanager.yaml or config/extensions/dsdeboer-googletagmanager_local.yaml

# The Container ID looks like 'GTM-XXXXX'.
google_tag_manager: ''

# If you don't already include bootstrap, also add the next line, otherwise leave it out! 
auto_provide_bootstrap: true