Skill Tracer
Skills › Marketing Skills › conversion-tracking › microsoft.json

microsoft.json

128 lines · skills/conversion-tracking/assets/gtm-recipes/send/microsoft.json at 88c79f6

1{
2 "exportFormatVersion": 2,
3 "containerVersion": {
4 "path": "accounts/0/containers/0",
5 "accountId": "0",
6 "containerId": "0",
7 "containerVersionId": "0",
8 "container": {
9 "path": "accounts/0/containers/0",
10 "accountId": "0",
11 "containerId": "0",
12 "name": "Conversion Send - Microsoft Ads Conversion",
13 "publicId": "GTM-XXXXXXX",
14 "usageContext": [
15 "WEB"
16 ],
17 "fingerprint": "0",
18 "tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/0/containers/0/workspaces/0"
19 },
20 "tag": [
21 {
22 "accountId": "0",
23 "containerId": "0",
24 "tagId": "101",
25 "name": "Microsoft UET Base Tag",
26 "type": "html",
27 "parameter": [
28 {
29 "type": "TEMPLATE",
30 "key": "html",
31 "value": "<script>\n(function (w, d, t, r, u) {\n if (w.uetq && w.uetq.push !== Array.prototype.push) { return; }\n var f, n, i;\n w[u] = w[u] || [];\n f = function () { var o = { ti: '__MICROSOFT_UET_TAG_ID__', enableAutoSpaTracking: true }; o.q = w[u]; w[u] = new UET(o); w[u].push('pageLoad'); };\n n = d.createElement(t); n.src = r; n.async = 1;\n n.onload = n.onreadystatechange = function () {\n var s = this.readyState;\n if (s && s !== 'loaded' && s !== 'complete') { return; }\n f(); n.onload = n.onreadystatechange = null;\n };\n i = d.getElementsByTagName(t)[0];\n i.parentNode.insertBefore(n, i);\n})(window, document, 'script', '//bat.bing.com/bat.js', 'uetq');\n</script>"
32 },
33 {
34 "type": "BOOLEAN",
35 "key": "supportDocumentWrite",
36 "value": "false"
37 }
38 ],
39 "firingTriggerId": [
40 "2147479553"
41 ],
42 "tagFiringOption": "ONCE_PER_EVENT",
43 "monitoringMetadata": {
44 "type": "MAP"
45 },
46 "consentSettings": {
47 "consentStatus": "NEEDED",
48 "consentType": {
49 "type": "LIST",
50 "list": [
51 {
52 "type": "TEMPLATE",
53 "value": "ad_storage"
54 }
55 ]
56 }
57 }
58 },
59 {
60 "accountId": "0",
61 "containerId": "0",
62 "tagId": "102",
63 "name": "Microsoft Conversion - __RECIPE_LABEL__",
64 "type": "html",
65 "parameter": [
66 {
67 "type": "TEMPLATE",
68 "key": "html",
69 "value": "<script>\n(function () {\n window.uetq = window.uetq || [];\n /* Microsoft matches event goals on Action, Category and Label. This must\n match the goal you created in the UET conversion goal screen exactly,\n and it is case sensitive. */\n window.uetq.push('event', '__MICROSOFT_EVENT_ACTION__', { event_category: 'conversion' });\n})();\n</script>"
70 },
71 {
72 "type": "BOOLEAN",
73 "key": "supportDocumentWrite",
74 "value": "false"
75 }
76 ],
77 "firingTriggerId": [
78 "201"
79 ],
80 "tagFiringOption": "ONCE_PER_EVENT",
81 "monitoringMetadata": {
82 "type": "MAP"
83 },
84 "consentSettings": {
85 "consentStatus": "NEEDED",
86 "consentType": {
87 "type": "LIST",
88 "list": [
89 {
90 "type": "TEMPLATE",
91 "value": "ad_storage"
92 }
93 ]
94 }
95 }
96 }
97 ],
98 "trigger": [
99 {
100 "accountId": "0",
101 "containerId": "0",
102 "triggerId": "201",
103 "name": "CE - __RECIPE_LABEL__",
104 "type": "CUSTOM_EVENT",
105 "customEventFilter": [
106 {
107 "type": "EQUALS",
108 "parameter": [
109 {
110 "type": "TEMPLATE",
111 "key": "arg0",
112 "value": "{{_event}}"
113 },
114 {
115 "type": "TEMPLATE",
116 "key": "arg1",
117 "value": "__DETECTION_EVENT__"
118 }
119 ]
120 }
121 ],
122 "filter": []
123 }
124 ],
125 "variable": [],
126 "fingerprint": "0"
127 }