Skip to content

Stacklane Connector for Google Tag Manager (AdWords, Anayltics, etc)

Notifications You must be signed in to change notification settings

stacklane-registry/googletagmanager.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Google Tag Manager

A Stacklane Connector for Google Tag Manager.

Import

/πŸ”Œ.yaml

- https://github.com/stacklane-registry/googletagmanager.com.git#!v1.0.2

Tag Usage

Applies the correct Content-Security-Policy and includes the <script> tag.

<head>
...
<googletagmanager.com-setup async id="YOUR-TAG-MANAGER-ID"/>

<script> 
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} 
gtag('js', new Date()); gtag('config', 'YOUR-TAG-MANAGER-ID'); 
</script>
...
</head>

About

Stacklane Connector for Google Tag Manager (AdWords, Anayltics, etc)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published