Skip to content

Instantly share code, notes, and snippets.

@huxleydias
Created April 1, 2019 18:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huxleydias/2bc392d62e8a38f2a318bf84dca190ac to your computer and use it in GitHub Desktop.
Save huxleydias/2bc392d62e8a38f2a318bf84dca190ac to your computer and use it in GitHub Desktop.
{
"exportFormatVersion": 2,
"exportTime": "2019-04-01 18:06:31",
"containerVersion": {
"path": "accounts/4701554052/containers/11452913/versions/0",
"accountId": "4701554052",
"containerId": "11452913",
"containerVersionId": "0",
"container": {
"path": "accounts/4701554052/containers/11452913",
"accountId": "4701554052",
"containerId": "11452913",
"name": "tagecode.com",
"publicId": "GTM-T2LDWHL",
"usageContext": [
"WEB"
],
"fingerprint": "1553806619521",
"tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/4701554052/containers/11452913/workspaces?apiLink=container"
},
"tag": [
{
"accountId": "4701554052",
"containerId": "11452913",
"tagId": "2",
"name": "GA - Generic Event",
"type": "ua",
"parameter": [
{
"type": "BOOLEAN",
"key": "nonInteraction",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "overrideGaSettings",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "eventValue",
"value": "{{eventValue}}"
},
{
"type": "TEMPLATE",
"key": "eventCategory",
"value": "{{eventCategory}}"
},
{
"type": "TEMPLATE",
"key": "trackType",
"value": "TRACK_EVENT"
},
{
"type": "TEMPLATE",
"key": "gaSettings",
"value": "{{track id}}"
},
{
"type": "TEMPLATE",
"key": "eventAction",
"value": "{{eventAction}}"
},
{
"type": "TEMPLATE",
"key": "eventLabel",
"value": "{{eventLabel}}"
}
],
"fingerprint": "1553793240230",
"firingTriggerId": [
"7"
],
"tagFiringOption": "ONCE_PER_EVENT"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"tagId": "1",
"name": "GA - PageView - All Pages",
"type": "ua",
"parameter": [
{
"type": "BOOLEAN",
"key": "overrideGaSettings",
"value": "true"
},
{
"type": "LIST",
"key": "fieldsToSet",
"list": [
{
"type": "MAP",
"map": [
{
"type": "TEMPLATE",
"key": "fieldName",
"value": "userId"
},
{
"type": "TEMPLATE",
"key": "value",
"value": "{{userId}}"
}
]
}
]
},
{
"type": "TEMPLATE",
"key": "trackType",
"value": "TRACK_PAGEVIEW"
},
{
"type": "TEMPLATE",
"key": "gaSettings",
"value": "{{track id}}"
},
{
"type": "LIST",
"key": "dimension",
"list": [
{
"type": "MAP",
"map": [
{
"type": "TEMPLATE",
"key": "index",
"value": "1"
},
{
"type": "TEMPLATE",
"key": "dimension",
"value": "{{userId}}"
}
]
}
]
}
],
"fingerprint": "1553806591317",
"firingTriggerId": [
"16"
],
"tagFiringOption": "ONCE_PER_EVENT"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"tagId": "3",
"name": "GA - Virtual Page View",
"type": "ua",
"parameter": [
{
"type": "BOOLEAN",
"key": "overrideGaSettings",
"value": "true"
},
{
"type": "LIST",
"key": "fieldsToSet",
"list": [
{
"type": "MAP",
"map": [
{
"type": "TEMPLATE",
"key": "fieldName",
"value": "title"
},
{
"type": "TEMPLATE",
"key": "value",
"value": "{{virtualPageTitle}}"
}
]
},
{
"type": "MAP",
"map": [
{
"type": "TEMPLATE",
"key": "fieldName",
"value": "page"
},
{
"type": "TEMPLATE",
"key": "value",
"value": "{{virtualPageUrl}}"
}
]
}
]
},
{
"type": "TEMPLATE",
"key": "trackType",
"value": "TRACK_PAGEVIEW"
},
{
"type": "TEMPLATE",
"key": "gaSettings",
"value": "{{track id}}"
}
],
"fingerprint": "1553800251344",
"firingTriggerId": [
"10"
],
"tagFiringOption": "ONCE_PER_EVENT"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"tagId": "4",
"name": "Mixpanel - All Pages",
"type": "html",
"parameter": [
{
"type": "TEMPLATE",
"key": "html",
"value": "<!-- start Mixpanel --><script type=\"text/javascript\">(function(c,a){if(!a.__SV){var b=window;try{var d,m,j,k=b.location,f=k.hash;d=function(a,b){return(m=a.match(RegExp(b+\"=([^&]*)\")))?m[1]:null};f&&d(f,\"state\")&&(j=JSON.parse(decodeURIComponent(d(f,\"state\"))),\"mpeditor\"===j.action&&(b.sessionStorage.setItem(\"_mpcehash\",f),history.replaceState(j.desiredHash||\"\",c.title,k.pathname+k.search)))}catch(n){}var l,h;window.mixpanel=a;a._i=[];a.init=function(b,d,g){function c(b,i){var a=i.split(\".\");2==a.length&&(b=b[a[0]],i=a[1]);b[i]=function(){b.push([i].concat(Array.prototype.slice.call(arguments,\n0)))}}var e=a;\"undefined\"!==typeof g?e=a[g]=[]:g=\"mixpanel\";e.people=e.people||[];e.toString=function(b){var a=\"mixpanel\";\"mixpanel\"!==g&&(a+=\".\"+g);b||(a+=\" (stub)\");return a};e.people.toString=function(){return e.toString(1)+\".people (stub)\"};l=\"disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove\".split(\" \");\nfor(h=0;h<l.length;h++)c(e,l[h]);var f=\"set set_once union unset remove delete\".split(\" \");e.get_group=function(){function a(c){b[c]=function(){call2_args=arguments;call2=[c].concat(Array.prototype.slice.call(call2_args,0));e.push([d,call2])}}for(var b={},d=[\"get_group\"].concat(Array.prototype.slice.call(arguments,0)),c=0;c<f.length;c++)a(f[c]);return b};a._i.push([b,d,g])};a.__SV=1.2;b=c.createElement(\"script\");b.type=\"text/javascript\";b.async=!0;b.src=\"undefined\"!==typeof MIXPANEL_CUSTOM_LIB_URL?\nMIXPANEL_CUSTOM_LIB_URL:\"file:\"===c.location.protocol&&\"//cdn4.mxpnl.com/libs/mixpanel-2-latest.min.js\".match(/^\\/\\//)?\"https://cdn4.mxpnl.com/libs/mixpanel-2-latest.min.js\":\"//cdn4.mxpnl.com/libs/mixpanel-2-latest.min.js\";d=c.getElementsByTagName(\"script\")[0];d.parentNode.insertBefore(b,d)}})(document,window.mixpanel||[]);\nmixpanel.init(\"8566639db3867b5ccbec8d47cc63f0b3\");</script><!-- end Mixpanel -->"
},
{
"type": "BOOLEAN",
"key": "supportDocumentWrite",
"value": "false"
}
],
"fingerprint": "1553801278722",
"firingTriggerId": [
"2147479553"
],
"tagFiringOption": "ONCE_PER_EVENT"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"tagId": "5",
"name": "Mixpanel Generic Event",
"type": "html",
"parameter": [
{
"type": "TEMPLATE",
"key": "html",
"value": "<script>\nmixpanel.track(\n \"{{eventAction}}\",\n {\"category\": \"{{eventCategory}}\", \"label\": \"{{eventLabel}}\" }\n);\n</script>"
},
{
"type": "BOOLEAN",
"key": "supportDocumentWrite",
"value": "false"
}
],
"fingerprint": "1553801930964",
"firingTriggerId": [
"7"
],
"tagFiringOption": "ONCE_PER_EVENT"
}
],
"trigger": [
{
"accountId": "4701554052",
"containerId": "11452913",
"triggerId": "16",
"name": "Dom Ready",
"type": "CUSTOM_EVENT",
"customEventFilter": [
{
"type": "EQUALS",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{_event}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "gtm.dom"
}
]
}
],
"filter": [
{
"type": "CONTAINS",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{Event}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "gtm.dom"
}
]
}
],
"fingerprint": "1553805937515"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"triggerId": "14",
"name": "Sub dominio Blog",
"type": "PAGEVIEW",
"filter": [
{
"type": "CONTAINS",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{Page URL}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "blog.seusite.com"
}
]
}
],
"fingerprint": "1553804616633"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"triggerId": "7",
"name": "genericEvent",
"type": "CUSTOM_EVENT",
"customEventFilter": [
{
"type": "EQUALS",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{_event}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "genericEvent"
}
]
}
],
"filter": [
{
"type": "CONTAINS",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{Event}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "genericEvent"
}
]
}
],
"fingerprint": "1553792834303"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"triggerId": "10",
"name": "virtualPageView",
"type": "CUSTOM_EVENT",
"customEventFilter": [
{
"type": "EQUALS",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{_event}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "virtualPageView"
}
]
}
],
"filter": [
{
"type": "CONTAINS",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{Event}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "virtualPageView"
}
]
}
],
"fingerprint": "1553800096252"
}
],
"variable": [
{
"accountId": "4701554052",
"containerId": "11452913",
"variableId": "3",
"name": "eventAction",
"type": "v",
"parameter": [
{
"type": "INTEGER",
"key": "dataLayerVersion",
"value": "2"
},
{
"type": "BOOLEAN",
"key": "setDefaultValue",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "name",
"value": "eventAction"
}
],
"fingerprint": "1553792319019",
"formatValue": {}
},
{
"accountId": "4701554052",
"containerId": "11452913",
"variableId": "2",
"name": "eventCategory",
"type": "v",
"parameter": [
{
"type": "INTEGER",
"key": "dataLayerVersion",
"value": "2"
},
{
"type": "BOOLEAN",
"key": "setDefaultValue",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "name",
"value": "eventCategory"
}
],
"fingerprint": "1553792172480",
"formatValue": {}
},
{
"accountId": "4701554052",
"containerId": "11452913",
"variableId": "4",
"name": "eventLabel",
"type": "v",
"parameter": [
{
"type": "INTEGER",
"key": "dataLayerVersion",
"value": "2"
},
{
"type": "BOOLEAN",
"key": "setDefaultValue",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "name",
"value": "eventLabel"
}
],
"fingerprint": "1553792338771",
"formatValue": {}
},
{
"accountId": "4701554052",
"containerId": "11452913",
"variableId": "5",
"name": "eventValue",
"type": "v",
"parameter": [
{
"type": "INTEGER",
"key": "dataLayerVersion",
"value": "2"
},
{
"type": "BOOLEAN",
"key": "setDefaultValue",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "name",
"value": "eventValue"
}
],
"fingerprint": "1553792483600",
"formatValue": {}
},
{
"accountId": "4701554052",
"containerId": "11452913",
"variableId": "1",
"name": "track id",
"type": "gas",
"parameter": [
{
"type": "TEMPLATE",
"key": "cookieDomain",
"value": "auto"
},
{
"type": "BOOLEAN",
"key": "doubleClick",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "setTrackerName",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "useDebugVersion",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "useHashAutoLink",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "decorateFormsAutoLink",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "enableLinkId",
"value": "false"
},
{
"type": "BOOLEAN",
"key": "enableEcommerce",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "trackingId",
"value": "UA-104620055-8"
}
],
"fingerprint": "1553785495762"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"variableId": "8",
"name": "userId",
"type": "v",
"parameter": [
{
"type": "INTEGER",
"key": "dataLayerVersion",
"value": "2"
},
{
"type": "BOOLEAN",
"key": "setDefaultValue",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "name",
"value": "userId"
}
],
"fingerprint": "1553805416900",
"formatValue": {}
},
{
"accountId": "4701554052",
"containerId": "11452913",
"variableId": "6",
"name": "virtualPageTitle",
"type": "v",
"parameter": [
{
"type": "INTEGER",
"key": "dataLayerVersion",
"value": "2"
},
{
"type": "BOOLEAN",
"key": "setDefaultValue",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "name",
"value": "virtualPageTitle"
}
],
"fingerprint": "1553800012656",
"formatValue": {}
},
{
"accountId": "4701554052",
"containerId": "11452913",
"variableId": "7",
"name": "virtualPageUrl",
"type": "v",
"parameter": [
{
"type": "INTEGER",
"key": "dataLayerVersion",
"value": "2"
},
{
"type": "BOOLEAN",
"key": "setDefaultValue",
"value": "false"
},
{
"type": "TEMPLATE",
"key": "name",
"value": "virtualPageUrl"
}
],
"fingerprint": "1553800028418",
"formatValue": {}
}
],
"builtInVariable": [
{
"accountId": "4701554052",
"containerId": "11452913",
"type": "PAGE_URL",
"name": "Page URL"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"type": "PAGE_HOSTNAME",
"name": "Page Hostname"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"type": "PAGE_PATH",
"name": "Page Path"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"type": "REFERRER",
"name": "Referrer"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"type": "EVENT",
"name": "Event"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"type": "CLICK_ELEMENT",
"name": "Click Element"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"type": "CLICK_CLASSES",
"name": "Click Classes"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"type": "CLICK_ID",
"name": "Click ID"
},
{
"accountId": "4701554052",
"containerId": "11452913",
"type": "NEW_HISTORY_FRAGMENT",
"name": "New History Fragment"
}
],
"fingerprint": "0",
"tagManagerUrl": "https://tagmanager.google.com/#/versions/accounts/4701554052/containers/11452913/versions/0?apiLink=version"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment