{ "exportFormatVersion": 2, "exportTime": "2019-11-06 23:10:29", "containerVersion": { "path": "accounts/3614831032/containers/11115490/versions/0", "accountId": "3614831032", "containerId": "11115490", "containerVersionId": "0", "container": { "path": "accounts/3614831032/containers/11115490", "accountId": "3614831032", "containerId": "11115490", "name": "FINAL FACEBOOK ROLLER TEMPLATE", "publicId": "GTM-NDJQCWX", "usageContext": [ "WEB" ], "fingerprint": "1572603615103", "tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/3614831032/containers/11115490/workspaces?apiLink=container" }, "tag": [ { "accountId": "3614831032", "containerId": "11115490", "tagId": "1", "name": "FB Pixel Base Tag", "type": "html", "parameter": [ { "type": "TEMPLATE", "key": "html", "value": "\n\n\n\n\n" }, { "type": "BOOLEAN", "key": "supportDocumentWrite", "value": "true" } ], "fingerprint": "1550573709477", "firingTriggerId": [ "6", "2147479553" ], "tagFiringOption": "ONCE_PER_EVENT" }, { "accountId": "3614831032", "containerId": "11115490", "tagId": "2", "name": "FB Pixel Pageview", "type": "html", "parameter": [ { "type": "TEMPLATE", "key": "html", "value": "\n\n" }, { "type": "BOOLEAN", "key": "supportDocumentWrite", "value": "true" } ], "fingerprint": "1550573784674", "firingTriggerId": [ "2147479553" ], "setupTag": [ { "tagName": "FB Pixel Base Tag" } ], "tagFiringOption": "ONCE_PER_EVENT" }, { "accountId": "3614831032", "containerId": "11115490", "tagId": "3", "name": "FB Purchase Pixel", "type": "html", "parameter": [ { "type": "TEMPLATE", "key": "html", "value": "" }, { "type": "BOOLEAN", "key": "supportDocumentWrite", "value": "true" } ], "fingerprint": "1572603589233", "firingTriggerId": [ "5" ], "tagFiringOption": "ONCE_PER_EVENT", "monitoringMetadata": { "type": "MAP" } } ], "trigger": [ { "accountId": "3614831032", "containerId": "11115490", "triggerId": "5", "name": "Angulartics Ecommerce", "type": "CUSTOM_EVENT", "customEventFilter": [ { "type": "EQUALS", "parameter": [ { "type": "TEMPLATE", "key": "arg0", "value": "{{_event}}" }, { "type": "TEMPLATE", "key": "arg1", "value": "GAecommerce" } ] } ], "fingerprint": "1550573709476" }, { "accountId": "3614831032", "containerId": "11115490", "triggerId": "6", "name": "Angulartics pageviews", "type": "CUSTOM_EVENT", "customEventFilter": [ { "type": "EQUALS", "parameter": [ { "type": "TEMPLATE", "key": "arg0", "value": "{{_event}}" }, { "type": "TEMPLATE", "key": "arg1", "value": "content-view" } ] } ], "fingerprint": "1550573709476" } ], "variable": [ { "accountId": "3614831032", "containerId": "11115490", "variableId": "1", "name": "ECTOFB", "type": "jsm", "parameter": [ { "type": "TEMPLATE", "key": "javascript", "value": "function() {\n return function(products) {\n if (!Array.isArray(products)) {\n return;\n }\n \n var idList = products.map(function(prod) {\n return prod.sku.toString();\n });\n \n var totalValue = products.reduce(function(cur, acc) {\n return cur + (acc.price * acc.quantity);\n }, 0);\n \n var totalQuantity = products.reduce(function(cur, acc) {\n return cur + acc.quantity;\n }, 0);\n \n var contentsArray = products.map(function(prod) {\n return {\n id: prod.sku.toString(),\n item_price: parseFloat(prod.price),\n quantity: parseInt(prod.quantity)\n };\n });\n \n return {\n content_ids: idList,\n value: totalValue,\n num_items: totalQuantity,\n contents: contentsArray\n };\n };\n}" } ], "fingerprint": "1550573709476", "formatValue": {} }, { "accountId": "3614831032", "containerId": "11115490", "variableId": "2", "name": "FB Pixel ID", "type": "c", "parameter": [ { "type": "TEMPLATE", "key": "value", "value": "1111111111" } ], "fingerprint": "1550573709476", "formatValue": {} }, { "accountId": "3614831032", "containerId": "11115490", "variableId": "5", "name": "FBcurrency", "type": "jsm", "parameter": [ { "type": "TEMPLATE", "key": "javascript", "value": "function(){\n\treturn angular.element(\"roller-widget>div.ng-scope\").scope().vm.settings.currency\n}" } ], "fingerprint": "1572603530646", "formatValue": {} }, { "accountId": "3614831032", "containerId": "11115490", "variableId": "3", "name": "transactionProducts", "type": "v", "parameter": [ { "type": "INTEGER", "key": "dataLayerVersion", "value": "2" }, { "type": "BOOLEAN", "key": "setDefaultValue", "value": "false" }, { "type": "TEMPLATE", "key": "name", "value": "transactionProducts" } ], "fingerprint": "1550573709476" }, { "accountId": "3614831032", "containerId": "11115490", "variableId": "4", "name": "transactionTotal", "type": "v", "parameter": [ { "type": "INTEGER", "key": "dataLayerVersion", "value": "2" }, { "type": "BOOLEAN", "key": "setDefaultValue", "value": "false" }, { "type": "TEMPLATE", "key": "name", "value": "transactionTotal" } ], "fingerprint": "1550573709477" } ], "fingerprint": "0", "tagManagerUrl": "https://tagmanager.google.com/#/versions/accounts/3614831032/containers/11115490/versions/0?apiLink=version" } }