UNPKG

@leancodepl/gtag

Version:

Google Tag Manager integration utilities for web analytics

2 lines (1 loc) 367 B
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["@leancodepl/gtag"]={}))})(this,(function(e){"use strict";function t(){return n=>{globalThis.dataLayer?.push(n)}}e.mkgtag=t,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));