{ "exportFormatVersion": 2, "exportTime": "2022-10-11 04:04:05", "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": "1 ROLLER FINAL FACEBOOK ROLLER TEMPLATE", "publicId": "GTM-NDJQCWX", "usageContext": [ "WEB" ], "fingerprint": "1619859797582", "tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/3614831032/containers/11115490/workspaces?apiLink=container", "features": { "supportUserPermissions": true, "supportEnvironments": true, "supportWorkspaces": true, "supportGtagConfigs": false, "supportBuiltInVariables": true, "supportClients": false, "supportFolders": true, "supportTags": true, "supportTemplates": true, "supportTriggers": true, "supportVariables": true, "supportVersions": true, "supportZones": true }, "tagIds": [ "GTM-NDJQCWX" ] }, "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", "consentSettings": { "consentStatus": "NOT_SET" } }, { "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", "consentSettings": { "consentStatus": "NOT_SET" } }, { "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" }, "consentSettings": { "consentStatus": "NOT_SET" } }, { "accountId": "3614831032", "containerId": "11115490", "tagId": "13", "name": "FB Add to Cart Pixel", "type": "html", "parameter": [ { "type": "TEMPLATE", "key": "html", "value": "" }, { "type": "BOOLEAN", "key": "supportDocumentWrite", "value": "true" } ], "fingerprint": "1619859612680", "firingTriggerId": [ "11" ], "tagFiringOption": "ONCE_PER_EVENT", "monitoringMetadata": { "type": "MAP" }, "consentSettings": { "consentStatus": "NOT_SET" } } ], "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" }, { "accountId": "3614831032", "containerId": "11115490", "triggerId": "11", "name": "Add to Cart", "type": "CUSTOM_EVENT", "customEventFilter": [ { "type": "EQUALS", "parameter": [ { "type": "TEMPLATE", "key": "arg0", "value": "{{_event}}" }, { "type": "TEMPLATE", "key": "arg1", "value": "gtm.ecommerce.addToCart" } ] } ], "fingerprint": "1619859582846" } ], "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": "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" }, { "accountId": "3614831032", "containerId": "11115490", "variableId": "5", "name": "FBcurrency", "type": "v", "parameter": [ { "type": "INTEGER", "key": "dataLayerVersion", "value": "2" }, { "type": "BOOLEAN", "key": "setDefaultValue", "value": "true" }, { "type": "TEMPLATE", "key": "defaultValue", "value": "AUD" }, { "type": "TEMPLATE", "key": "name", "value": "ecommerce.currencyCode" } ], "fingerprint": "1619861092031", "formatValue": {} }, { "accountId": "3614831032", "containerId": "11115490", "variableId": "10", "name": "addtocartProducts", "type": "v", "parameter": [ { "type": "INTEGER", "key": "dataLayerVersion", "value": "2" }, { "type": "BOOLEAN", "key": "setDefaultValue", "value": "false" }, { "type": "TEMPLATE", "key": "name", "value": "ecommerce.add.products" } ], "fingerprint": "1619859582845", "formatValue": {} }, { "accountId": "3614831032", "containerId": "11115490", "variableId": "12", "name": "ECTOFB_ADD2CART", "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.id.toString();\n });\n \n var nameList = products.map(function(prod) {\n return prod.name.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.id.toString(),\n item_price: parseFloat(prod.price),\n quantity: parseInt(prod.quantity)\n };\n });\n \n return {\n content_ids: idList,\n content_type: nameList,\n value: totalValue,\n num_items: totalQuantity,\n contents: contentsArray\n };\n };\n}" } ], "fingerprint": "1619859582847", "formatValue": {} } ], "fingerprint": "1665461045016", "tagManagerUrl": "https://tagmanager.google.com/#/versions/accounts/3614831032/containers/11115490/versions/0?apiLink=version" } }