On this page, I'll list all the custom templates I've created for the gallery, as well as provide a link to each template's individual documentation page.
Do you need help with your template?
If you want to commission me for help building your custom template, please contact me at
simo (at) simoahava.com.
Remember to also check out my articles on custom templates.
Tag templates (16)
This is an unofficial template for the Facebook Pixel. You can use it to load the SDK, initiate the pixel(s), and to send custom and standard events to Facebook with any custom properties and user attributes you wish.
The is an unofficial template for Userpilot. The tag can be used to identify users (with an ID and associated properties), reload Userpilot and re-evaluate page state, track custom events, and trigger specific Userpilot content for the user, regardless of targeting conditions.
You can use this tag to randomly assign users to buckets, and then to store this information in a first-party cookie. This is useful for quick A/B tests and for creating samples or cohorts of your visitors.
This is an unofficial template for the Facebook Customer Chat SDK. You can use it to load the chat SDK and to attach event handlers to the API events.
This is an unofficial template for AudienceProject's UserReport tag.
This is an unofficial template for the IP Geolocation API. With this API, you can query for geolocation data using the user's (or a custom) IP address. This information is then written into dataLayer.
This tag stores the page referrer and URL parameters in a browser cookie. This cookie can be used, for example, on conversion pages or after the user has given consent to attribute the session to the correct campaign. The template also stores the original location of the page to overcome the rogue referral problem on single-page applications.
The is an unofficial template for the YouTube Iframe API. A tag created with this template loads the YouTube Iframe API on the page. This is necessary if you want to track interactions in lazy-loaded or dynamically added videos with Google Tag Manager's native YouTube video trigger.
Use this template to load hosted libraries from the CDNJS content distribution network.
Use this template to set up a monitoring system for Google Tag Manager. With the monitor, you can collect data about tags that fired (or did not fire) with any given event. This information can be used to proactively fix issues with your tags.
This is an unofficial template for the AdForm Tracking Point. You can use it to load the SDK, initiate the tracking point, and to send page- and order-level data to AdForm.
This is an unofficial template for the AdService SDK.
This is an unofficial template for the AppNexus pixel.
This is an unofficial template for the Conductrics library. You can use it to load the SDK/API on your site.
Variable templates (4)
This template is meant to be used with the Snowplow Analytics tag template. It generates a tracker configuration object for the tag, thus removing the need to configure the tracker manually for every single Snowplow Analytics tag in the container.
This template can be used to replace the built-in URL variable type. It has additional options, such as building the string from different URL components, and for parsing the URL fragment for key-value parameters as well.
This template takes an array of objects, and produces a string where the values of one of the given keys in these objects is concatenated into a single string.
Use this template to build an Enhanced Ecommerce object, compatible with Universal Analytics. This way you do not necessarily have to use the dataLayer at all for populating Ecommerce data into Universal Analytics.