-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.tpl
419 lines (384 loc) · 16.1 KB
/
template.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
___TERMS_OF_SERVICE___
By creating or modifying this file you agree to Google Tag Manager's Community
Template Gallery Developer Terms of Service available at
https://developers.google.com/tag-manager/gallery-tos (or such other URL as
Google may provide), as modified from time to time.
___INFO___
{
"type": "TAG",
"id": "cvt_temp_public_id",
"version": 1,
"securityGroups": [],
"displayName": "Facebook Leads API",
"brand": {
"id": "brand_dummy",
"displayName": "Stape",
"thumbnail": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOwAAADsCAYAAAB300oUAAAVDklEQVR4Ae2dW2wdx3nH/3tIUSR1I3WxLrEsSnJswLEt2YglNYUtsU2bhzSJDRQI2hiwbOSpfbD8YKMvgeSHAkVebKOIgRYFLAN9aIO0lowG6Q0lKbmpLKQyHSe2EyUSZcOSLFkSJZMidTkzmdlzdndmdymRFJfaj/v/wYfnkOccWgT52++bb76ZCTCb7OjrwpWWHdB6M3SwDjD3QBe0uQXmRkhZ0Rg2f6PDQDBkPjOP9bsIgkHo+iAO9Q5hlghQNNsOWkG/ZX7ix81nPSBk7jFoVBo0Ar+OQ4/2o0CKEXZbXw9U61OA2sXISSrGkNGqH0H9xSIi78wK24imu0003QFCKk+wd6bFnRlhbUTVLa9RVELymDlxa7hVthzcDVV7h7ISMhF6J3TteOjKLTL9CBtG1dob5tFmEEImyxAC1TvdaDu9CLv14LONqEpZCZkiNtC9g60HdmEaTF3YbTasq5dZ/SVk2hh39EvTSZGnlhJvPfBamI8TQmYIU5B6+7GnJ/3qyb6QshJSFJOXdnLCUlZCCmZy0t58DBuOWSkrIcViHJvEmPbGEdZWg22BiRAySwTPmUg7oXMTCxv2A5vyM6vBhMwmw2ae9qGJ5mknTol1rY+yEjLrdDUbknLJFzYct3IpHCG3ic3YMrAn74lsStxoOTwOQsjtJDc1zkZY3XLLDcqEkFumq7ECzsePsIyuhJSLxkKB/uhTP8IyuhJSLlJOJhFWaHRd0NGCbfcvwpfWd2Ldqnas6G5Dx/wASgGfj9Vx9vxVHD91BR8MjZrbGD4bvgZCRBGo9dFYtjX+YmiyhhRWLm3DNx9dhj/4cpcRtAatNepGUntv/gtvnebra43Ea+6Yj688uNhIrPHWu5fw5sHPjLjXQYgIVG2n+bjHPkwi7NYBG117IIDHH1uGP/vaHaGQkaQ2oirdfGzurZ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iCkuICIIhG2HfBSFEAPqijbBDIISUnwCDNahgEISQ8qOUEfZqvR+EkPJTsxF2sNcWnYZACCkvGoM41DvU2vx0v7k9CzJnGTo1jvVPHAYRSq0xdG0IG6h90DUKO8ex0hKp1F+3H4P48y0DF8xnXSCElI0hvL19vX2Q9BLX8AoIIeUjCPqjh07zv9oLQkgJqb8YPUqENRUoo3I/CCHlIQj2Ntxs4C+vCxKTCSFlwHfSF/ZQbz+jLCElIRVdLdkF7EH9aa6RJaQMZDPerLDWaFaMCbm9aPViOrpaggnfsHXgHfNxMwghs00875pm4j2dAvUEU2NCZhnrXKB6J3p6YmFtOG5RrBoTMpsE+alwxI13Tfy/3pfDb0AIKR47bn3bOHcDAkyGLQN7zSufAiGkGLR6HYd7d97sZZMT1kJpCSmGScpqmbywFkpLyMwyBVktU9v5//D2nRzTEjJD2DHrFGS1TC3CRvxe3y7Ua7u5fpaQadCYurlpgSmP6Qlr2dbXA13rM496QAiZLINhj8MNpm5uxPSFjdjWt8eIuxuEkImxUbWmXjGi7sEtcOvCWmy0Rc2Iy4IUIRnCHSPqT083qnrfCjMJxSUkoSHqi41lqzP0LVEEibjbwTEuqRJR6gvsnYmImqYYYV229e0w8u40P8gmcPUPmZvYJan7zTTNvpmMpnkUL6yLjbzKSFurbYYONoXTQlqbarO55xQRKTPhVEy4es3c20299Ql71g060Y/+3llb1fY7tKinvcFVJVMAAAAASUVORK5CYII\u003d"
},
"description": "This tag implements integrations with Meta\u0027s Conversions API for Conversion Leads optimization",
"containerContexts": [
"SERVER"
]
}
___TEMPLATE_PARAMETERS___
[
{
"type": "TEXT",
"name": "accessToken",
"displayName": "API Access Token",
"simpleValueType": true,
"help": "Set to your Facebook API Access Token. See \u003ca href\u003d\"https://developers.facebook.com/docs/marketing-api/server-side-api/get-started#access-token\" target\u003d\"_blank\"\u003ehere\u003c/a\u003e for more information.",
"valueValidators": [
{
"type": "NON_EMPTY"
}
]
},
{
"type": "TEXT",
"name": "pixelId",
"displayName": "Facebook Pixel ID",
"simpleValueType": true,
"valueValidators": [
{
"type": "NON_EMPTY"
}
],
"help": "Set to a valid Facebook Pixel ID."
},
{
"type": "TEXT",
"name": "leadId",
"displayName": "Lead ID",
"simpleValueType": true,
"valueValidators": [
{
"type": "NON_EMPTY"
}
],
"help": "The 15 or 16 digit leadgen_id from your downloaded leads."
},
{
"type": "TEXT",
"name": "leadEventSource",
"displayName": "Lead Event Source",
"simpleValueType": true,
"help": "The name of the CRM where the events are coming from.",
"valueValidators": [
{
"type": "NON_EMPTY"
}
]
},
{
"type": "TEXT",
"name": "eventName",
"displayName": "Event Name (Optional)",
"simpleValueType": true,
"help": "The event_name parameter should indicate a lead moving through the sales funnel in your CRM.\nDefault: eventData.event_name"
},
{
"type": "TEXT",
"name": "eventTime",
"displayName": "Event Time (Optional)",
"simpleValueType": true,
"help": "A Unix timestamp in seconds indicates when your CRM updates the lead stage update event.\u003cbr /\u003e\nDefault: Current time."
},
{
"type": "TEXT",
"name": "testId",
"displayName": "Test ID",
"simpleValueType": true,
"help": "Provide a Test ID if you want to test server-side events in the Test Events feature of Events Manager."
},
{
"displayName": "Logs Settings",
"name": "logsGroup",
"groupStyle": "ZIPPY_CLOSED",
"type": "GROUP",
"subParams": [
{
"type": "RADIO",
"name": "logType",
"radioItems": [
{
"value": "no",
"displayValue": "Do not log"
},
{
"value": "debug",
"displayValue": "Log to console during debug and preview"
},
{
"value": "always",
"displayValue": "Always log to console"
}
],
"simpleValueType": true,
"defaultValue": "debug"
}
]
}
]
___SANDBOXED_JS_FOR_SERVER___
const encodeUriComponent = require('encodeUriComponent');
const encodeUri = require('encodeUri');
const JSON = require('JSON');
const Math = require('Math');
const sendHttpRequest = require('sendHttpRequest');
const getTimestampMillis = require('getTimestampMillis');
const getContainerVersion = require('getContainerVersion');
const logToConsole = require('logToConsole');
const getRequestHeader = require('getRequestHeader');
const getAllEventData = require('getAllEventData');
const isLoggingEnabled = determinateIsLoggingEnabled();
const traceId = isLoggingEnabled ? getRequestHeader('trace-id') : undefined;
const eventData = getAllEventData();
const apiVersion = '19.0';
const postUrl =
'https://graph.facebook.com/v' +
apiVersion +
'/' +
encPath(data.pixelId) +
'/events?access_token=' +
enc(data.accessToken);
const mappedEventData = getMappedEventData();
const postBody = {
data: [mappedEventData]
};
if (data.testId) postBody.test_event_code = data.testId;
if (isLoggingEnabled) {
logToConsole(
JSON.stringify({
Name: 'FacebookLead',
Type: 'Request',
TraceId: traceId,
EventName: mappedEventData.event_name,
RequestMethod: 'POST',
RequestUrl: postUrl,
RequestBody: postBody
})
);
}
sendHttpRequest(
postUrl,
(statusCode, headers, body) => {
if (isLoggingEnabled) {
logToConsole(
JSON.stringify({
Name: 'FacebookLead',
Type: 'Response',
TraceId: traceId,
EventName: mappedEventData.event_name,
ResponseStatusCode: statusCode,
ResponseHeaders: headers,
ResponseBody: body
})
);
}
if (statusCode >= 200 && statusCode < 300) {
data.gtmOnSuccess();
} else {
data.gtmOnFailure();
}
},
{ headers: { 'content-type': 'application/json' }, method: 'POST' },
JSON.stringify(postBody)
);
function getMappedEventData() {
return {
event_name:
data.eventName ||
eventData.event_name ||
eventData.eventName ||
eventData.event,
action_source: 'system_generated',
event_time: data.eventTime || Math.round(getTimestampMillis() / 1000),
custom_data: {
lead_event_source: data.leadEventSource,
event_source: 'crm'
},
user_data: {
lead_id: data.leadId
}
};
}
function enc(data) {
data = data || '';
return encodeUriComponent(data);
}
function encPath(data) {
data = data || '';
return encodeUri(data);
}
function determinateIsLoggingEnabled() {
const containerVersion = getContainerVersion();
const isDebug = !!(
containerVersion &&
(containerVersion.debugMode || containerVersion.previewMode)
);
if (!data.logType) {
return isDebug;
}
if (data.logType === 'no') {
return false;
}
if (data.logType === 'debug') {
return isDebug;
}
return data.logType === 'always';
}
___SERVER_PERMISSIONS___
[
{
"instance": {
"key": {
"publicId": "read_request",
"versionId": "1"
},
"param": [
{
"key": "headerWhitelist",
"value": {
"type": 2,
"listItem": [
{
"type": 3,
"mapKey": [
{
"type": 1,
"string": "headerName"
}
],
"mapValue": [
{
"type": 1,
"string": "trace-id"
}
]
}
]
}
},
{
"key": "headersAllowed",
"value": {
"type": 8,
"boolean": true
}
},
{
"key": "requestAccess",
"value": {
"type": 1,
"string": "specific"
}
},
{
"key": "headerAccess",
"value": {
"type": 1,
"string": "specific"
}
},
{
"key": "queryParameterAccess",
"value": {
"type": 1,
"string": "any"
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "logging",
"versionId": "1"
},
"param": [
{
"key": "environments",
"value": {
"type": 1,
"string": "debug"
}
}
]
},
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "read_container_data",
"versionId": "1"
},
"param": []
},
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "send_http",
"versionId": "1"
},
"param": [
{
"key": "allowedUrls",
"value": {
"type": 1,
"string": "specific"
}
},
{
"key": "urls",
"value": {
"type": 2,
"listItem": [
{
"type": 1,
"string": "https://graph.facebook.com/*"
}
]
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "read_event_data",
"versionId": "1"
},
"param": [
{
"key": "eventDataAccess",
"value": {
"type": 1,
"string": "any"
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
}
]
___TESTS___
scenarios: []
___NOTES___
Created on 03/04/2024, 14:11:51