-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.tpl
135 lines (113 loc) · 6.84 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
___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": "Matomo Goal",
"categories": ["ANALYTICS"],
"brand": {
"id": "openmost",
"displayName": "Openmost",
"thumbnail": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAACLCAYAAACzxXGGAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAwnSURBVHgB7Z1bjBPnFcfPN/beKBeHUEogKm6UROIJ7xYoFxXslqYkVGJBlZJKVfH2oVUFEbsPfWgR2t2mLX1jUZr2pZIXqY8NrBSpbFqlNqoKLURZ00ZKpN4GoghU0rCFJQu7nvl6zti78o699ow9l8+75ycZ23i8Ho//c/7nfLcBYBiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRiGYRpHgOIkejMxiEICTIgDaJsXvmreAA10KEA+P9Y3CQoyPbgzXogah4SEhBQyIUHGBIj43Ov4XMfnupAibwrzUluhLd81/GcdFEVJwZBINA36pRD78IgmHb1JQE4aYhRFdAnFo0OIyMFkbCr64Cg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0HP91gs5ZSWXfPrOtqTILXeRisiN7z2pxcSoJl0meQ4+ACtQjXb+fBwrQUSRb0/kshm421QXLYMPEeMUILbbM7iBOuqapoYFB5eT5tKZ6qGvEhwnXLmyoF4OwCJPw0eITFHEpo5dGznm2frbVtXMHP0ZLPpiEdnKSlZRLSha3v3+n5W2vFAOJPW/kttJIioshi/uPr8PmnIIWh+mtAoWtDwgMOLVTgWzBwl4dBMyaSb98liuU5CGQlDKHaKwsHvIMVRIayZCbVs1xIJ0FALwzwXZESpR0k4aSj+HnEn77EEjzesgs66XTretWDmIKuKRiJbhSGTuAtzBzxm27G8dfneiBibNYzrQVhPo3Qf+fVm9Jg4tnjHUEgxMCk3MW8Ire3uxPlv3oAWgHIcGYHNQpr0e8TLXzOlyNNgtNmOTy65FQnDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzjFf8HpCWoyI4v6vIAAAAASUVORK5CYII\u003d"
},
"description": "Send goal data to Matomo",
"containerContexts": [
"WEB"
]
}
___TEMPLATE_PARAMETERS___
[
{
"type": "TEXT",
"name": "goalId",
"displayName": "Goal ID",
"simpleValueType": true
},
{
"type": "TEXT",
"name": "goalValue",
"displayName": "Goal value",
"simpleValueType": true
}
]
___SANDBOXED_JS_FOR_WEB_TEMPLATE___
// Saisissez le code de votre modèle ici.
const createQueue = require('createQueue');
var _paqPush = createQueue('_paq');
_paqPush(['trackGoal', data.goalId, data.goalValue]);
// Appelez data.gtmOnSuccess une fois la balise terminée.
data.gtmOnSuccess();
___WEB_PERMISSIONS___
[
{
"instance": {
"key": {
"publicId": "access_globals",
"versionId": "1"
},
"param": [
{
"key": "keys",
"value": {
"type": 2,
"listItem": [
{
"type": 3,
"mapKey": [
{
"type": 1,
"string": "key"
},
{
"type": 1,
"string": "read"
},
{
"type": 1,
"string": "write"
},
{
"type": 1,
"string": "execute"
}
],
"mapValue": [
{
"type": 1,
"string": "_paq"
},
{
"type": 8,
"boolean": true
},
{
"type": 8,
"boolean": true
},
{
"type": 8,
"boolean": true
}
]
}
]
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
}
]
___TESTS___
scenarios: []
___NOTES___
Created on 18/01/2024 19:12:18