{
    "exportFormatVersion": 2,
    "exportTime": "2016-11-29 20:06:03",
    "containerVersion": {
        "path": "accounts/<%= accountId %>/containers/<%= containerId %>/versions/14",
        "accountId": "<%= accountId %>",
        "containerId": "<%= containerId %>",
        "containerVersionId": "14",
        "name": "moving to the production GA tag",
        "container": {
            "path": "accounts/55673478/containers/1091165",
            "accountId": "<%= accountId %>",
            "containerId": "<%= containerId %>",
            "name": "Base GTM Config",
            "domainName": [],
            "publicId": "<%= gtmId %>",
            "usageContext": [
                "WEB"
            ],
            "fingerprint": "1480440007614",
            "tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/<%= accountId %>/containers/<%= containerId %>/workspaces?apiLink=container"
        },
        "tag": [
			<% if (answers.facebookAnalytics) { -%>
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "tagId": "3",
                "name": "Facebook Pixel",
                "type": "html",
                "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','//connect.facebook.net/en_US/fbevents.js');\n// Insert Your Facebook Pixel ID below. \nfbq('init', '826426104123146');\nfbq('track', 'PageView');\n</script>\n<!-- Insert Your Facebook Pixel ID below. --> \n<noscript><img height=\"1\" width=\"1\" style=\"display:none\"\nsrc=\"https://www.facebook.com/tr?id=<%= answers.fbId %>&amp;ev=PageView&amp;noscript=1\"\n/></noscript>\n<!-- End Facebook Pixel Code -->"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "supportDocumentWrite",
                        "value": "false"
                    }
                ],
                "fingerprint": "1479758662135",
                "firingTriggerId": [
                    "2147479553"
                ],
                "tagFiringOption": "ONCE_PER_LOAD"
            }
			<% } -%>
			<% if (answers.googleAnalytics) { -%>
				<% if (answers.facebookAnalytics) { -%>
				,
				<% } -%>
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "tagId": "4",
                "name": "GA - Links",
                "type": "ua",
                "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": "eventValue",
                        "value": "{{element text}}"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "eventCategory",
                        "value": "Link"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "trackType",
                        "value": "TRACK_EVENT"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "enableLinkId",
                        "value": "false"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "eventAction",
                        "value": "Select"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "eventLabel",
                        "value": "{{data-label}}"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "enableEcommerce",
                        "value": "false"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "trackingId",
                        "value": "{{gaProperty}}"
                    }
                ],
                "fingerprint": "1480363561256",
                "firingTriggerId": [
                    "16",
                    "17"
                ],
                "tagFiringOption": "UNLIMITED"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "tagId": "1",
                "name": "GA - Universal Page Tracking",
                "type": "ua",
                "parameter": [
                    {
                        "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": "TEMPLATE",
                        "key": "trackType",
                        "value": "TRACK_PAGEVIEW"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "decorateFormsAutoLink",
                        "value": "false"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "enableLinkId",
                        "value": "false"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "enableEcommerce",
                        "value": "false"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "trackingId",
                        "value": "{{gaProperty}}"
                    }
                ],
                "fingerprint": "1480364148400",
                "firingTriggerId": [
                    "2147479553",
                    "8"
                ],
                "tagFiringOption": "ONCE_PER_EVENT"
            }
			<% } -%>
			<% if (answers.hubspotAnalytics) { -%>
				<% if (answers.facebookAnalytics || answers.googleAnalytics) { -%>
				,
				<% } -%>
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "tagId": "2",
                "name": "Hubspot",
                "type": "html",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "html",
                        "value": "<!-- Start of Async HubSpot Analytics Code -->\n  <script type=\"text/javascript\">\n    (function(d,s,i,r) {\n      if (d.getElementById(i)){return;}\n      var n=d.createElement(s),e=d.getElementsByTagName(s)[0];\n      n.id=i;n.src='//js.hs-analytics.net/analytics/'+(Math.ceil(new Date()/r)*r)+'/<%= answers.hubspotId %>.js';\n      e.parentNode.insertBefore(n, e);\n    })(document,\"script\",\"hs-analytics\",300000);\n  </script>\n<!-- End of Async HubSpot Analytics Code -->"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "supportDocumentWrite",
                        "value": "false"
                    }
                ],
                "fingerprint": "1479324795012",
                "firingTriggerId": [
                    "2147479553"
                ],
                "tagFiringOption": "ONCE_PER_EVENT"
            }
			<% } -%>
        ],
        "trigger": [
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "triggerId": "1",
                "name": "All pages",
                "type": "PAGEVIEW",
                "filter": [
                    {
                        "type": "MATCH_REGEX",
                        "parameter": [
                            {
                                "type": "TEMPLATE",
                                "key": "arg0",
                                "value": "{{url}}"
                            },
                            {
                                "type": "TEMPLATE",
                                "key": "arg1",
                                "value": ".*"
                            }
                        ]
                    }
                ],
                "fingerprint": "1426178642502"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "triggerId": "8",
                "name": "History Change",
                "type": "HISTORY_CHANGE",
                "fingerprint": "1481825978569"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "triggerId": "17",
                "name": "Form Submissions",
                "type": "FORM_SUBMISSION",
                "waitForTags": {
                    "type": "TEMPLATE"
                },
                "checkValidation": {
                    "type": "TEMPLATE"
                },
                "waitForTagsTimeout": {
                    "type": "TEMPLATE",
                    "value": "2000"
                },
                "uniqueTriggerId": {
                    "type": "TEMPLATE"
                },
                "fingerprint": "1480361226781"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "triggerId": "16",
                "name": "Link Clicks",
                "type": "LINK_CLICK",
                "filter": [
                    {
                        "type": "CONTAINS",
                        "parameter": [
                            {
                                "type": "TEMPLATE",
                                "key": "arg0",
                                "value": "{{data-label}}"
                            },
                            {
                                "type": "TEMPLATE",
                                "key": "arg1",
                                "value": "-"
                            }
                        ]
                    }
                ],
                "autoEventFilter": [
                    {
                        "type": "CONTAINS",
                        "parameter": [
                            {
                                "type": "TEMPLATE",
                                "key": "arg0",
                                "value": "{{url}}"
                            },
                            {
                                "type": "TEMPLATE",
                                "key": "arg1",
                                "value": "-"
                            }
                        ]
                    }
                ],
                "waitForTags": {
                    "type": "BOOLEAN",
                    "value": "true"
                },
                "checkValidation": {
                    "type": "BOOLEAN",
                    "value": "false"
                },
                "waitForTagsTimeout": {
                    "type": "TEMPLATE",
                    "value": "1000"
                },
                "uniqueTriggerId": {
                    "type": "TEMPLATE"
                },
                "fingerprint": "1480439997911"
            }
        ],
        "variable": [
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "19",
                "name": "data-label",
                "type": "v",
                "parameter": [
                    {
                        "type": "INTEGER",
                        "key": "dataLayerVersion",
                        "value": "2"
                    },
                    {
                        "type": "BOOLEAN",
                        "key": "setDefaultValue",
                        "value": "false"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "name",
                        "value": "gtm.element.dataset.label"
                    }
                ],
                "fingerprint": "1480364117767"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "18",
                "name": "data-track-value",
                "type": "aev",
                "parameter": [
                    {
                        "type": "BOOLEAN",
                        "key": "setDefaultValue",
                        "value": "false"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "ATTRIBUTE"
                    },
                    {
                        "type": "TEMPLATE",
                        "key": "attribute",
                        "value": "data-track-value"
                    }
                ],
                "fingerprint": "1480362649629"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "6",
                "name": "element",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "ELEMENT"
                    }
                ],
                "fingerprint": "1426178642499"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "7",
                "name": "element classes",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "CLASSES"
                    }
                ],
                "fingerprint": "1426178642499"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "8",
                "name": "element id",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "ID"
                    }
                ],
                "fingerprint": "1426178642499"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "9",
                "name": "element target",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "TARGET"
                    }
                ],
                "fingerprint": "1426178642500"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "10",
                "name": "element text",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "TEXT"
                    }
                ],
                "fingerprint": "1426178642500"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "11",
                "name": "element url",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "URL"
                    }
                ],
                "fingerprint": "1426178642500"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "5",
                "name": "event",
                "type": "e",
                "fingerprint": "1426178642499"
            },
			<% if (answers.googleAnalytics) { -%>
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "17",
                "name": "gaProperty",
                "type": "c",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "value",
                        "value": "<%= answers.gaId %>"
                    }
                ],
                "fingerprint": "1480449891709"
            },
			<% } -%>
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "16",
                "name": "history change source",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "HISTORY_CHANGE_SOURCE"
                    }
                ],
                "fingerprint": "1426178642502"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "14",
                "name": "history new state",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "HISTORY_NEW_STATE"
                    }
                ],
                "fingerprint": "1426178642501"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "12",
                "name": "history new url fragment",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "HISTORY_NEW_URL_FRAGMENT"
                    }
                ],
                "fingerprint": "1426178642501"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "15",
                "name": "history old state",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "HISTORY_OLD_STATE"
                    }
                ],
                "fingerprint": "1426178642501"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "13",
                "name": "history old url fragment",
                "type": "aev",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "varType",
                        "value": "HISTORY_OLD_URL_FRAGMENT"
                    }
                ],
                "fingerprint": "1426178642501"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "4",
                "name": "referrer",
                "type": "f",
                "fingerprint": "1426178642498"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "1",
                "name": "url",
                "type": "u",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "component",
                        "value": "URL"
                    }
                ],
                "fingerprint": "1426178642497"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "2",
                "name": "url hostname",
                "type": "u",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "component",
                        "value": "HOST"
                    }
                ],
                "fingerprint": "1426178642498"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "variableId": "3",
                "name": "url path",
                "type": "u",
                "parameter": [
                    {
                        "type": "TEMPLATE",
                        "key": "component",
                        "value": "PATH"
                    }
                ],
                "fingerprint": "1426178642498"
            }
        ],
        "builtInVariable": [
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "type": "PAGE_URL",
                "name": "Page URL"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "type": "PAGE_HOSTNAME",
                "name": "Page Hostname"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "type": "PAGE_PATH",
                "name": "Page Path"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "type": "REFERRER",
                "name": "Referrer"
            },
            {
                "accountId": "<%= accountId %>",
                "containerId": "<%= containerId %>",
                "type": "EVENT",
                "name": "Event"
            }
        ],
        "fingerprint": "1480449914668",
        "tagManagerUrl": "https://tagmanager.google.com/#/versions/accounts/<%= accountId %>/containers/<%= containerId %>/versions/0?apiLink=version"
    }
}
