Loader

Design Suite

Loading...
" }, { "type": "BOOLEAN", "key": "supportDocumentWrite", "value": "false" } ], "fingerprint": "1505324831076", "firingTriggerId": [ "6", "7" ], "parentFolderId": "5", "tagFiringOption": "ONCE_PER_EVENT" } ], "trigger": [ { "accountId": "1793838576", "containerId": "7529371", "triggerId": "6", "name": "Confirmation Page View", "type": "CUSTOM_EVENT", "customEventFilter": [ { "type": "EQUALS", "parameter": [ { "type": "TEMPLATE", "key": "arg0", "value": "{{_event}}" }, { "type": "TEMPLATE", "key": "arg1", "value": "content-view" } ] } ], "filter": [ { "type": "CONTAINS", "parameter": [ { "type": "TEMPLATE", "key": "arg0", "value": "{{Page Name}}" }, { "type": "TEMPLATE", "key": "arg1", "value": "/confirmation" } ] } ], "fingerprint": "1505324838552", "parentFolderId": "5" }, { "accountId": "1793838576", "containerId": "7529371", "triggerId": "7", "name": "Duetto Select Room", "type": "CUSTOM_EVENT", "customEventFilter": [ { "type": "EQUALS", "parameter": [ { "type": "TEMPLATE", "key": "arg0", "value": "{{_event}}" }, { "type": "TEMPLATE", "key": "arg1", "value": "interaction" } ] } ], "filter": [ { "type": "EQUALS", "parameter": [ { "type": "TEMPLATE", "key": "arg0", "value": "{{Page Name}}" }, { "type": "TEMPLATE", "key": "arg1", "value": "/accommodation/room" } ] }, { "type": "EQUALS", "parameter": [ { "type": "TEMPLATE", "key": "arg0", "value": "{{BE - Event Action}}" }, { "type": "TEMPLATE", "key": "arg1", "value": "SelectRateFromList" } ] } ], "fingerprint": "1505324809195", "parentFolderId": "5" } ], "variable": [ { "accountId": "1793838576", "containerId": "7529371", "variableId": "2", "name": "BE - Event Action", "type": "v", "parameter": [ { "type": "INTEGER", "key": "dataLayerVersion", "value": "1" }, { "type": "BOOLEAN", "key": "setDefaultValue", "value": "false" }, { "type": "TEMPLATE", "key": "name", "value": "action" } ], "fingerprint": "1505324781594", "parentFolderId": "5" }, { "accountId": "1793838576", "containerId": "7529371", "variableId": "3", "name": "Duetto Confirm Vars", "type": "jsm", "parameter": [ { "type": "TEMPLATE", "key": "javascript", "value": "function () {\n\tvar duettoScope = angular.element(document.querySelector('body')).scope().$root;\n \tvar reservations = [];\n\tfor (var i = 0; i < duettoScope.reservationArray.length; i++) {\n \t var res = duettoScope.reservationArray[i].roomStays[0];\n \t reservations.push({\n \t \"b\" : duettoScope.reservationArray[i].uniqueId,\n \"r\" : res.total.amountBeforeTax / res.roomRates[0].rates.length,\n \"rt\" : res.roomRates[0].roomTypeCode,\n \"rc\" : res.ratePlans[0].ratePlanCode\n });\n }\n \n \treturn reservations;\n}" } ], "fingerprint": "1505324888238", "parentFolderId": "5" }, { "accountId": "1793838576", "containerId": "7529371", "variableId": "4", "name": "Duetto quote list", "type": "jsm", "parameter": [ { "type": "TEMPLATE", "key": "javascript", "value": "function () {\n\tvar duettoScope = angular.element(document.querySelector('body')).scope().$root;\n var quotes = [];\n\tfor (var i = 0; i < duettoScope.RatesAvail.roomStays[0].roomTypes.length; i++) {\n \t var quote = duettoScope.RatesAvail.roomStays[0].roomTypes[i];\n quotes.push({\n \"rt\" : quote.currentRate.roomTypeCode,\n \"rc\" : quote.currentRate.ratePlanCode,\n \"r\" : quote.currentRate.rate\n });\n }\n \n \treturn quotes;\n}" } ], "fingerprint": "1505324911949", "parentFolderId": "5" }, { "accountId": "1793838576", "containerId": "7529371", "variableId": "1", "name": "Page Name", "type": "v", "parameter": [ { "type": "INTEGER", "key": "dataLayerVersion", "value": "1" }, { "type": "BOOLEAN", "key": "setDefaultValue", "value": "false" }, { "type": "TEMPLATE", "key": "name", "value": "content-name" } ], "fingerprint": "1505324134822" } ], "folder": [ { "accountId": "1793838576", "containerId": "7529371", "folderId": "5", "name": "Duetto", "fingerprint": "1505323928336" } ], "builtInVariable": [ { "accountId": "1793838576", "containerId": "7529371", "type": "PAGE_URL", "name": "Page URL" }, { "accountId": "1793838576", "containerId": "7529371", "type": "PAGE_HOSTNAME", "name": "Page Hostname" }, { "accountId": "1793838576", "containerId": "7529371", "type": "PAGE_PATH", "name": "Page Path" }, { "accountId": "1793838576", "containerId": "7529371", "type": "REFERRER", "name": "Referrer" }, { "accountId": "1793838576", "containerId": "7529371", "type": "EVENT", "name": "Event" } ], "fingerprint": "0", "tagManagerUrl": "https://tagmanager.google.com/#/versions/accounts/1793838576/containers/7529371/versions/0?apiLink=version" } }