Skip to content
Custom templates for Google Tag Manager
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
tags Add Snap Pixel Aug 21, 2019
variables Added dollars to number variable (#35) Aug 20, 2019
.gitignore Added Facebook Pixel Tag May 18, 2019
LICENSE Create LICENSE (#17) Jun 24, 2019 Fix folder for dataLayer builder Jul 26, 2019

Custom templates for Google Tag Manager

In this repository, I intend to collect custom template files for Google Tag Manager.


The repository itself is released to the public under the MIT License. By submitting a template into this repository, you accept that the template will fall under this license, too. You can submit a difference LICENSE file in the folder to where you upload your own template, in case you want it to override the default MIT license used in the repo.


To import a template file into your Google Tag Manager container, follow these steps:

  1. Download the .tpl file you want to import.
  2. Create a new template in Google Tag Manager (either tag or variable, depending on which type you are importing).
  3. In the action menu in the top right corner of the template editor, choose Import.
  4. Select the .tpl file from your container.

Importing a template file like this always overwrites any work you might have done in the underlying template, so you should always import to a newly created template.


Templates are organized by type (tag or variable).

Tag templates are organized by brand (e.g. Facebook), and then by template name.

Variable templates are organized by template name.

You can’t perform that action at this time.