Created
September 20, 2016 12:15
-
-
Save kazdegroot/e4ca90e654f212c8567b356ed1983a81 to your computer and use it in GitHub Desktop.
Google tagmanager defaults
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"exportFormatVersion": 1.3, | |
"exportTime": "2016-09-20 12:12:10", | |
"containerVersion": { | |
"accountId": "150110", | |
"containerId": "2617080", | |
"containerVersionId": "0", | |
"deleted": false, | |
"container": { | |
"accountId": "150110", | |
"containerId": "2617080", | |
"name": "GTM TEMPLATE 2016", | |
"publicId": "GTM-MBPXWT", | |
"timeZoneCountryId": "US", | |
"timeZoneId": "America/Los_Angeles", | |
"notes": "", | |
"usageContext": [ | |
"WEB" | |
], | |
"fingerprint": "1474373427226", | |
"enabledBuiltInVariable": [ | |
"PAGE_URL", | |
"PAGE_HOSTNAME", | |
"PAGE_PATH", | |
"REFERRER", | |
"EVENT", | |
"CLICK_ELEMENT", | |
"CLICK_CLASSES", | |
"CLICK_ID", | |
"CLICK_TARGET", | |
"CLICK_URL", | |
"CLICK_TEXT", | |
"FORM_ELEMENT", | |
"FORM_CLASSES", | |
"FORM_ID", | |
"FORM_TARGET", | |
"FORM_URL", | |
"FORM_TEXT" | |
] | |
}, | |
"tag": [ | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "4", | |
"name": "ADJUST Conversion - adwords - email link click", | |
"type": "awct", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "conversionId", | |
"value": "{{ADJUST google_conversion_id}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "conversionLabel", | |
"value": "ADJUST" | |
} | |
], | |
"fingerprint": "1474369205795", | |
"firingTriggerId": [ | |
"7" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "1", | |
"name": "ADJUST Conversion - adwords - phone link click", | |
"type": "awct", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "conversionId", | |
"value": "{{ADJUST google_conversion_id}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "conversionLabel", | |
"value": "ADJUST" | |
} | |
], | |
"fingerprint": "1474369898273", | |
"firingTriggerId": [ | |
"9" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "11", | |
"name": "ADJUST Conversion - adwords - transaction", | |
"type": "awct", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "conversionValue", | |
"value": "{{ADJUST transactionTotal}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "conversionId", | |
"value": "{{ADJUST google_conversion_id}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "conversionLabel", | |
"value": "ADJUST" | |
} | |
], | |
"fingerprint": "1474371612462", | |
"firingTriggerId": [ | |
"10" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "2", | |
"name": "Conversion - UA - email link click", | |
"type": "ua", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "BOOLEAN", | |
"key": "nonInteraction", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "setTrackerName", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "doubleClick", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "useDebugVersion", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventCategory", | |
"value": "lead generation" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackType", | |
"value": "TRACK_EVENT" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableLinkId", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventAction", | |
"value": "email link click" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventLabel", | |
"value": "{{Click URL}}" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableEcommerce", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackingId", | |
"value": "{{ADJUST ua}}" | |
} | |
], | |
"fingerprint": "1474368979185", | |
"firingTriggerId": [ | |
"7" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "3", | |
"name": "Conversion - UA - phone link click", | |
"type": "ua", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "BOOLEAN", | |
"key": "nonInteraction", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "setTrackerName", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "doubleClick", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "useDebugVersion", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventCategory", | |
"value": "lead generation" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackType", | |
"value": "TRACK_EVENT" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableLinkId", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventAction", | |
"value": "phone link click" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventLabel", | |
"value": "{{Click URL}}" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableEcommerce", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackingId", | |
"value": "{{ADJUST ua}}" | |
} | |
], | |
"fingerprint": "1474368979187", | |
"firingTriggerId": [ | |
"9" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "5", | |
"name": "Event - UA - button clicks", | |
"type": "ua", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "BOOLEAN", | |
"key": "nonInteraction", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "doubleClick", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "setTrackerName", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "useDebugVersion", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventCategory", | |
"value": "buttons" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackType", | |
"value": "TRACK_EVENT" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableLinkId", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventAction", | |
"value": "clicks" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventLabel", | |
"value": "{{Click Text}}" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableEcommerce", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackingId", | |
"value": "{{ADJUST ua}}" | |
} | |
], | |
"fingerprint": "1474368979190", | |
"firingTriggerId": [ | |
"5" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "6", | |
"name": "Event - UA - downloads", | |
"type": "ua", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "BOOLEAN", | |
"key": "nonInteraction", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "setTrackerName", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "doubleClick", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "useDebugVersion", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventCategory", | |
"value": "downloads" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackType", | |
"value": "TRACK_EVENT" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableLinkId", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventAction", | |
"value": "{{filetype}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventLabel", | |
"value": "{{Click URL}}" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableEcommerce", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackingId", | |
"value": "{{ADJUST ua}}" | |
} | |
], | |
"fingerprint": "1474368979191", | |
"firingTriggerId": [ | |
"6" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "7", | |
"name": "Event - UA - outbound link clicks", | |
"type": "ua", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "BOOLEAN", | |
"key": "nonInteraction", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "setTrackerName", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "doubleClick", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "useDebugVersion", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventCategory", | |
"value": "outbound links" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackType", | |
"value": "TRACK_EVENT" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableLinkId", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "eventAction", | |
"value": "{{Click URL}}" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableEcommerce", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackingId", | |
"value": "{{ADJUST ua}}" | |
} | |
], | |
"fingerprint": "1474369425232", | |
"firingTriggerId": [ | |
"8" | |
], | |
"blockingTriggerId": [ | |
"6", | |
"7", | |
"9" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "9", | |
"name": "Tracking - UA", | |
"type": "ua", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "BOOLEAN", | |
"key": "useEcommerceDataLayer", | |
"value": "true" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "setTrackerName", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "doubleClick", | |
"value": "true" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "useDebugVersion", | |
"value": "false" | |
}, | |
{ | |
"type": "LIST", | |
"key": "fieldsToSet", | |
"list": [ | |
{ | |
"type": "MAP", | |
"map": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "fieldName", | |
"value": "anonymizeIp" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "value", | |
"value": "true" | |
} | |
] | |
}, | |
{ | |
"type": "MAP", | |
"map": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "fieldName", | |
"value": "siteSpeedSampleRate" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "value", | |
"value": "100" | |
} | |
] | |
}, | |
{ | |
"type": "MAP", | |
"map": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "fieldName", | |
"value": "forceSSL" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "value", | |
"value": "true" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "useHashAutoLink", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackType", | |
"value": "TRACK_PAGEVIEW" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "decorateFormsAutoLink", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableLinkId", | |
"value": "false" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "enableEcommerce", | |
"value": "true" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "trackingId", | |
"value": "{{ADJUST ua}}" | |
} | |
], | |
"fingerprint": "1474373474492", | |
"firingTriggerId": [ | |
"11" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "8", | |
"name": "Tracking - adwords - remarketing", | |
"type": "sp", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "conversionId", | |
"value": "{{ADJUST google_conversion_id}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "customParamsFormat", | |
"value": "NONE" | |
} | |
], | |
"fingerprint": "1474373456441", | |
"firingTriggerId": [ | |
"11" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"tagId": "10", | |
"name": "Tracking - facebook - base pixel", | |
"type": "html", | |
"liveOnly": false, | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "html", | |
"value": "<!-- Facebook Pixel Code -->\n<script>\n!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?\nn.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;\nn.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;\nt.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,\ndocument,'script','https://connect.facebook.net/en_US/fbevents.js');\n\nfbq('init', '{{ADJUST facebook_pixel_id}}');\nfbq('track', \"PageView\");</script>\n<noscript><img height=\"1\" width=\"1\" style=\"display:none\"\nsrc=\"https://www.facebook.com/tr?id={{ADJUST facebook_pixel_id}}&ev=PageView&noscript=1\"\n/></noscript>\n<!-- End Facebook Pixel Code -->" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "supportDocumentWrite", | |
"value": "false" | |
} | |
], | |
"fingerprint": "1474373464481", | |
"firingTriggerId": [ | |
"11" | |
], | |
"tagFiringOption": "ONCE_PER_EVENT" | |
} | |
], | |
"fingerprint": "0", | |
"trigger": [ | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"triggerId": "10", | |
"name": "ADJUST Transaction complete", | |
"type": "DOM_READY", | |
"filter": [ | |
{ | |
"type": "CONTAINS", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "arg0", | |
"value": "{{Page URL}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "arg1", | |
"value": "thankyou-page" | |
} | |
] | |
} | |
], | |
"fingerprint": "1474371607888" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"triggerId": "5", | |
"name": "Button clicks", | |
"type": "CLICK", | |
"filter": [ | |
{ | |
"type": "CONTAINS", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "arg0", | |
"value": "{{Click Classes}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "arg1", | |
"value": "button" | |
} | |
] | |
} | |
], | |
"fingerprint": "1474368979172" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"triggerId": "11", | |
"name": "DOM ready", | |
"type": "DOM_READY", | |
"fingerprint": "1474373427226" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"triggerId": "6", | |
"name": "Downloads", | |
"type": "LINK_CLICK", | |
"filter": [ | |
{ | |
"type": "MATCH_REGEX", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "arg0", | |
"value": "{{filetype}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "arg1", | |
"value": "^(pdf|xlsx|docx|xls|doc)$" | |
}, | |
{ | |
"type": "BOOLEAN", | |
"key": "ignore_case", | |
"value": "true" | |
} | |
] | |
} | |
], | |
"waitForTags": { | |
"type": "BOOLEAN", | |
"value": "false" | |
}, | |
"checkValidation": { | |
"type": "BOOLEAN", | |
"value": "false" | |
}, | |
"waitForTagsTimeout": { | |
"type": "TEMPLATE", | |
"value": "2000" | |
}, | |
"uniqueTriggerId": { | |
"type": "TEMPLATE", | |
"value": "" | |
}, | |
"fingerprint": "1474368979176" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"triggerId": "7", | |
"name": "Email link click", | |
"type": "LINK_CLICK", | |
"filter": [ | |
{ | |
"type": "CONTAINS", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "arg0", | |
"value": "{{Click URL}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "arg1", | |
"value": "mailto:" | |
} | |
] | |
} | |
], | |
"waitForTags": { | |
"type": "BOOLEAN", | |
"value": "false" | |
}, | |
"checkValidation": { | |
"type": "BOOLEAN", | |
"value": "false" | |
}, | |
"waitForTagsTimeout": { | |
"type": "TEMPLATE", | |
"value": "2000" | |
}, | |
"uniqueTriggerId": { | |
"type": "TEMPLATE", | |
"value": "" | |
}, | |
"fingerprint": "1474368979176" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"triggerId": "8", | |
"name": "Outbound link click", | |
"type": "LINK_CLICK", | |
"filter": [ | |
{ | |
"type": "EQUALS", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "arg0", | |
"value": "{{matching hostname}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "arg1", | |
"value": "no match" | |
} | |
] | |
} | |
], | |
"waitForTags": { | |
"type": "BOOLEAN", | |
"value": "false" | |
}, | |
"checkValidation": { | |
"type": "BOOLEAN", | |
"value": "false" | |
}, | |
"waitForTagsTimeout": { | |
"type": "TEMPLATE", | |
"value": "2000" | |
}, | |
"uniqueTriggerId": { | |
"type": "TEMPLATE", | |
"value": "" | |
}, | |
"fingerprint": "1474368979179" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"triggerId": "9", | |
"name": "Phone link click", | |
"type": "LINK_CLICK", | |
"filter": [ | |
{ | |
"type": "CONTAINS", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "arg0", | |
"value": "{{Click URL}}" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "arg1", | |
"value": "tel:" | |
} | |
] | |
} | |
], | |
"waitForTags": { | |
"type": "BOOLEAN", | |
"value": "false" | |
}, | |
"checkValidation": { | |
"type": "BOOLEAN", | |
"value": "false" | |
}, | |
"waitForTagsTimeout": { | |
"type": "TEMPLATE", | |
"value": "2000" | |
}, | |
"uniqueTriggerId": { | |
"type": "TEMPLATE", | |
"value": "" | |
}, | |
"fingerprint": "1474368979180" | |
} | |
], | |
"variable": [ | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"variableId": "8", | |
"name": "ADJUST facebook_pixel_id", | |
"type": "c", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "value", | |
"value": "ADJUST" | |
} | |
], | |
"fingerprint": "1474369168592" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"variableId": "5", | |
"name": "ADJUST google_conversion_id", | |
"type": "c", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "value", | |
"value": "ADJUST" | |
} | |
], | |
"fingerprint": "1474370981973" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"variableId": "6", | |
"name": "ADJUST transactionTotal", | |
"type": "v", | |
"parameter": [ | |
{ | |
"type": "BOOLEAN", | |
"key": "setDefaultValue", | |
"value": "false" | |
}, | |
{ | |
"type": "INTEGER", | |
"key": "dataLayerVersion", | |
"value": "2" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "name", | |
"value": "ecommerce.purchase.actionField.revenue" | |
} | |
], | |
"fingerprint": "1474371802994" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"variableId": "7", | |
"name": "ADJUST ua", | |
"type": "smm", | |
"parameter": [ | |
{ | |
"type": "BOOLEAN", | |
"key": "setDefaultValue", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "input", | |
"value": "{{Page Hostname}}" | |
}, | |
{ | |
"type": "LIST", | |
"key": "map", | |
"list": [ | |
{ | |
"type": "MAP", | |
"map": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "key", | |
"value": "website.com" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "value", | |
"value": "UA-xxxxxxxx-x" | |
} | |
] | |
}, | |
{ | |
"type": "MAP", | |
"map": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "key", | |
"value": "www.website.com" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "value", | |
"value": "UA-xxxxxxxx-x" | |
} | |
] | |
} | |
] | |
} | |
], | |
"fingerprint": "1474369317531" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"variableId": "1", | |
"name": "element", | |
"type": "aev", | |
"parameter": [ | |
{ | |
"type": "BOOLEAN", | |
"key": "setDefaultValue", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "varType", | |
"value": "ELEMENT" | |
} | |
], | |
"fingerprint": "1474368979173" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"variableId": "2", | |
"name": "filetype", | |
"type": "jsm", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "javascript", | |
"value": "function() {\n var ext = {{element}}.pathname.split(\".\");\n return ext.length>1?ext.pop():'html';\n}" | |
} | |
], | |
"fingerprint": "1474368979175" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"variableId": "4", | |
"name": "matching hostname", | |
"type": "jsm", | |
"parameter": [ | |
{ | |
"type": "TEMPLATE", | |
"key": "javascript", | |
"value": "function () {\nvar hostname = {{url hostname}},\n url = {{Click URL}};\n\nreturn (url.indexOf(hostname) !== -1) ? 'match' : 'no match';\n}\n" | |
} | |
], | |
"fingerprint": "1474368979178" | |
}, | |
{ | |
"accountId": "150110", | |
"containerId": "2617080", | |
"variableId": "3", | |
"name": "url hostname", | |
"type": "u", | |
"parameter": [ | |
{ | |
"type": "BOOLEAN", | |
"key": "stripWww", | |
"value": "false" | |
}, | |
{ | |
"type": "TEMPLATE", | |
"key": "component", | |
"value": "HOST" | |
} | |
], | |
"fingerprint": "1474368979177" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment