@walkeros/web-destination-linkedin 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev.js +1 -1
- package/dist/dev.js.map +1 -1
- package/dist/dev.mjs +1 -1
- package/dist/dev.mjs.map +1 -1
- package/dist/examples/index.js +13 -1
- package/dist/examples/index.mjs +13 -1
- package/dist/walkerOS.json +21 -9
- package/package.json +3 -3
package/dist/examples/index.js
CHANGED
|
@@ -109,7 +109,7 @@ function L(e2, t = {}, n = {}) {
|
|
|
109
109
|
}
|
|
110
110
|
function fe(e2 = {}) {
|
|
111
111
|
var _a;
|
|
112
|
-
const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = L({ name: "entity action", data: { string: "foo", number: 1, boolean: true, array: [0, "text", false], not: void 0 }, context: { dev: ["test", 1] }, globals: { lang: "elb" }, custom: { completely: "random" }, user: { id: "us3r", device: "c00k13", session: "s3ss10n" }, nested: [{ entity: "child", data: { is: "subordinated" }, nested: [], context: { element: ["child", 0] } }], consent: { functional: true }, id: `${t}-${n}-${o}`, trigger: "test", entity: "entity", action: "action", timestamp: t, timing: 3.14, group: n, count: o, version: { source: "3.4.
|
|
112
|
+
const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = L({ name: "entity action", data: { string: "foo", number: 1, boolean: true, array: [0, "text", false], not: void 0 }, context: { dev: ["test", 1] }, globals: { lang: "elb" }, custom: { completely: "random" }, user: { id: "us3r", device: "c00k13", session: "s3ss10n" }, nested: [{ entity: "child", data: { is: "subordinated" }, nested: [], context: { element: ["child", 0] } }], consent: { functional: true }, id: `${t}-${n}-${o}`, trigger: "test", entity: "entity", action: "action", timestamp: t, timing: 3.14, group: n, count: o, version: { source: "3.4.1", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
|
|
113
113
|
if (e2.name) {
|
|
114
114
|
const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
|
|
115
115
|
t2 && n2 && (r.entity = t2, r.action = n2);
|
|
@@ -123,10 +123,13 @@ function le(e2 = "entity action", t = {}) {
|
|
|
123
123
|
|
|
124
124
|
// src/examples/step.ts
|
|
125
125
|
var unmappedEventIgnored = {
|
|
126
|
+
public: false,
|
|
126
127
|
in: le("product view", { timestamp: 1700000100 }),
|
|
127
128
|
out: []
|
|
128
129
|
};
|
|
129
130
|
var simpleConversionId = {
|
|
131
|
+
title: "Simple conversion",
|
|
132
|
+
description: "A form submit fires a LinkedIn lintrk track with only a conversion_id from Campaign Manager.",
|
|
130
133
|
in: le("form submit", { timestamp: 1700000101 }),
|
|
131
134
|
mapping: {
|
|
132
135
|
settings: {
|
|
@@ -140,6 +143,8 @@ var simpleConversionId = {
|
|
|
140
143
|
out: [["lintrk", "track", { conversion_id: 12345 }]]
|
|
141
144
|
};
|
|
142
145
|
var orderCompleteFullConversion = {
|
|
146
|
+
title: "Ecommerce conversion",
|
|
147
|
+
description: "A completed order fires a LinkedIn lintrk track with conversion_id, value, currency, and event_id for deduplication.",
|
|
143
148
|
in: le("order complete", { timestamp: 1700000102 }),
|
|
144
149
|
mapping: {
|
|
145
150
|
settings: {
|
|
@@ -167,6 +172,8 @@ var orderCompleteFullConversion = {
|
|
|
167
172
|
]
|
|
168
173
|
};
|
|
169
174
|
var pageViewConversion = {
|
|
175
|
+
title: "Key page view",
|
|
176
|
+
description: "A page view fires an explicit lintrk track mapped to a LinkedIn KEY_PAGE_VIEW conversion rule.",
|
|
170
177
|
in: le("page view", { timestamp: 1700000103 }),
|
|
171
178
|
mapping: {
|
|
172
179
|
settings: {
|
|
@@ -190,6 +197,8 @@ var pageViewConversion = {
|
|
|
190
197
|
]
|
|
191
198
|
};
|
|
192
199
|
var demoRequestLead = {
|
|
200
|
+
title: "Lead conversion",
|
|
201
|
+
description: "A demo request fires a LinkedIn lintrk track for a lead conversion with id and event_id only.",
|
|
193
202
|
in: le("demo request", { timestamp: 1700000104 }),
|
|
194
203
|
mapping: {
|
|
195
204
|
settings: {
|
|
@@ -213,6 +222,7 @@ var demoRequestLead = {
|
|
|
213
222
|
]
|
|
214
223
|
};
|
|
215
224
|
var conversionSkipped = {
|
|
225
|
+
public: false,
|
|
216
226
|
in: le("form submit", { timestamp: 1700000105 }),
|
|
217
227
|
mapping: {
|
|
218
228
|
skip: true,
|
|
@@ -227,6 +237,7 @@ var conversionSkipped = {
|
|
|
227
237
|
out: []
|
|
228
238
|
};
|
|
229
239
|
var missingConversionIdIgnored = {
|
|
240
|
+
public: false,
|
|
230
241
|
in: le("form submit", { timestamp: 1700000106 }),
|
|
231
242
|
mapping: {
|
|
232
243
|
settings: {
|
|
@@ -240,6 +251,7 @@ var missingConversionIdIgnored = {
|
|
|
240
251
|
out: []
|
|
241
252
|
};
|
|
242
253
|
var partialFieldsOmitted = {
|
|
254
|
+
public: false,
|
|
243
255
|
in: le("order complete", { timestamp: 1700000107 }),
|
|
244
256
|
mapping: {
|
|
245
257
|
settings: {
|
package/dist/examples/index.mjs
CHANGED
|
@@ -88,7 +88,7 @@ function L(e2, t = {}, n = {}) {
|
|
|
88
88
|
}
|
|
89
89
|
function fe(e2 = {}) {
|
|
90
90
|
var _a;
|
|
91
|
-
const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = L({ name: "entity action", data: { string: "foo", number: 1, boolean: true, array: [0, "text", false], not: void 0 }, context: { dev: ["test", 1] }, globals: { lang: "elb" }, custom: { completely: "random" }, user: { id: "us3r", device: "c00k13", session: "s3ss10n" }, nested: [{ entity: "child", data: { is: "subordinated" }, nested: [], context: { element: ["child", 0] } }], consent: { functional: true }, id: `${t}-${n}-${o}`, trigger: "test", entity: "entity", action: "action", timestamp: t, timing: 3.14, group: n, count: o, version: { source: "3.4.
|
|
91
|
+
const t = e2.timestamp || (/* @__PURE__ */ new Date()).setHours(0, 13, 37, 0), n = e2.group || "gr0up", o = e2.count || 1, r = L({ name: "entity action", data: { string: "foo", number: 1, boolean: true, array: [0, "text", false], not: void 0 }, context: { dev: ["test", 1] }, globals: { lang: "elb" }, custom: { completely: "random" }, user: { id: "us3r", device: "c00k13", session: "s3ss10n" }, nested: [{ entity: "child", data: { is: "subordinated" }, nested: [], context: { element: ["child", 0] } }], consent: { functional: true }, id: `${t}-${n}-${o}`, trigger: "test", entity: "entity", action: "action", timestamp: t, timing: 3.14, group: n, count: o, version: { source: "3.4.1", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
|
|
92
92
|
if (e2.name) {
|
|
93
93
|
const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
|
|
94
94
|
t2 && n2 && (r.entity = t2, r.action = n2);
|
|
@@ -102,10 +102,13 @@ function le(e2 = "entity action", t = {}) {
|
|
|
102
102
|
|
|
103
103
|
// src/examples/step.ts
|
|
104
104
|
var unmappedEventIgnored = {
|
|
105
|
+
public: false,
|
|
105
106
|
in: le("product view", { timestamp: 1700000100 }),
|
|
106
107
|
out: []
|
|
107
108
|
};
|
|
108
109
|
var simpleConversionId = {
|
|
110
|
+
title: "Simple conversion",
|
|
111
|
+
description: "A form submit fires a LinkedIn lintrk track with only a conversion_id from Campaign Manager.",
|
|
109
112
|
in: le("form submit", { timestamp: 1700000101 }),
|
|
110
113
|
mapping: {
|
|
111
114
|
settings: {
|
|
@@ -119,6 +122,8 @@ var simpleConversionId = {
|
|
|
119
122
|
out: [["lintrk", "track", { conversion_id: 12345 }]]
|
|
120
123
|
};
|
|
121
124
|
var orderCompleteFullConversion = {
|
|
125
|
+
title: "Ecommerce conversion",
|
|
126
|
+
description: "A completed order fires a LinkedIn lintrk track with conversion_id, value, currency, and event_id for deduplication.",
|
|
122
127
|
in: le("order complete", { timestamp: 1700000102 }),
|
|
123
128
|
mapping: {
|
|
124
129
|
settings: {
|
|
@@ -146,6 +151,8 @@ var orderCompleteFullConversion = {
|
|
|
146
151
|
]
|
|
147
152
|
};
|
|
148
153
|
var pageViewConversion = {
|
|
154
|
+
title: "Key page view",
|
|
155
|
+
description: "A page view fires an explicit lintrk track mapped to a LinkedIn KEY_PAGE_VIEW conversion rule.",
|
|
149
156
|
in: le("page view", { timestamp: 1700000103 }),
|
|
150
157
|
mapping: {
|
|
151
158
|
settings: {
|
|
@@ -169,6 +176,8 @@ var pageViewConversion = {
|
|
|
169
176
|
]
|
|
170
177
|
};
|
|
171
178
|
var demoRequestLead = {
|
|
179
|
+
title: "Lead conversion",
|
|
180
|
+
description: "A demo request fires a LinkedIn lintrk track for a lead conversion with id and event_id only.",
|
|
172
181
|
in: le("demo request", { timestamp: 1700000104 }),
|
|
173
182
|
mapping: {
|
|
174
183
|
settings: {
|
|
@@ -192,6 +201,7 @@ var demoRequestLead = {
|
|
|
192
201
|
]
|
|
193
202
|
};
|
|
194
203
|
var conversionSkipped = {
|
|
204
|
+
public: false,
|
|
195
205
|
in: le("form submit", { timestamp: 1700000105 }),
|
|
196
206
|
mapping: {
|
|
197
207
|
skip: true,
|
|
@@ -206,6 +216,7 @@ var conversionSkipped = {
|
|
|
206
216
|
out: []
|
|
207
217
|
};
|
|
208
218
|
var missingConversionIdIgnored = {
|
|
219
|
+
public: false,
|
|
209
220
|
in: le("form submit", { timestamp: 1700000106 }),
|
|
210
221
|
mapping: {
|
|
211
222
|
settings: {
|
|
@@ -219,6 +230,7 @@ var missingConversionIdIgnored = {
|
|
|
219
230
|
out: []
|
|
220
231
|
};
|
|
221
232
|
var partialFieldsOmitted = {
|
|
233
|
+
public: false,
|
|
222
234
|
in: le("order complete", { timestamp: 1700000107 }),
|
|
223
235
|
mapping: {
|
|
224
236
|
settings: {
|
package/dist/walkerOS.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$meta": {
|
|
3
3
|
"package": "@walkeros/web-destination-linkedin",
|
|
4
|
-
"version": "3.4.
|
|
4
|
+
"version": "3.4.1",
|
|
5
5
|
"type": "destination",
|
|
6
6
|
"platform": [
|
|
7
7
|
"web"
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
"step": {
|
|
87
87
|
"conversionSkipped": {
|
|
88
|
+
"public": false,
|
|
88
89
|
"in": {
|
|
89
90
|
"name": "form submit",
|
|
90
91
|
"data": {
|
|
@@ -141,7 +142,7 @@
|
|
|
141
142
|
"group": "gr0up",
|
|
142
143
|
"count": 1,
|
|
143
144
|
"version": {
|
|
144
|
-
"source": "3.4.
|
|
145
|
+
"source": "3.4.1",
|
|
145
146
|
"tagging": 1
|
|
146
147
|
},
|
|
147
148
|
"source": {
|
|
@@ -165,6 +166,8 @@
|
|
|
165
166
|
"out": []
|
|
166
167
|
},
|
|
167
168
|
"demoRequestLead": {
|
|
169
|
+
"title": "Lead conversion",
|
|
170
|
+
"description": "A demo request fires a LinkedIn lintrk track for a lead conversion with id and event_id only.",
|
|
168
171
|
"in": {
|
|
169
172
|
"name": "demo request",
|
|
170
173
|
"data": {
|
|
@@ -221,7 +224,7 @@
|
|
|
221
224
|
"group": "gr0up",
|
|
222
225
|
"count": 1,
|
|
223
226
|
"version": {
|
|
224
|
-
"source": "3.4.
|
|
227
|
+
"source": "3.4.1",
|
|
225
228
|
"tagging": 1
|
|
226
229
|
},
|
|
227
230
|
"source": {
|
|
@@ -254,6 +257,7 @@
|
|
|
254
257
|
]
|
|
255
258
|
},
|
|
256
259
|
"missingConversionIdIgnored": {
|
|
260
|
+
"public": false,
|
|
257
261
|
"in": {
|
|
258
262
|
"name": "form submit",
|
|
259
263
|
"data": {
|
|
@@ -310,7 +314,7 @@
|
|
|
310
314
|
"group": "gr0up",
|
|
311
315
|
"count": 1,
|
|
312
316
|
"version": {
|
|
313
|
-
"source": "3.4.
|
|
317
|
+
"source": "3.4.1",
|
|
314
318
|
"tagging": 1
|
|
315
319
|
},
|
|
316
320
|
"source": {
|
|
@@ -331,6 +335,8 @@
|
|
|
331
335
|
"out": []
|
|
332
336
|
},
|
|
333
337
|
"orderCompleteFullConversion": {
|
|
338
|
+
"title": "Ecommerce conversion",
|
|
339
|
+
"description": "A completed order fires a LinkedIn lintrk track with conversion_id, value, currency, and event_id for deduplication.",
|
|
334
340
|
"in": {
|
|
335
341
|
"name": "order complete",
|
|
336
342
|
"data": {
|
|
@@ -417,7 +423,7 @@
|
|
|
417
423
|
"group": "gr0up",
|
|
418
424
|
"count": 1,
|
|
419
425
|
"version": {
|
|
420
|
-
"source": "3.4.
|
|
426
|
+
"source": "3.4.1",
|
|
421
427
|
"tagging": 1
|
|
422
428
|
},
|
|
423
429
|
"source": {
|
|
@@ -457,6 +463,8 @@
|
|
|
457
463
|
]
|
|
458
464
|
},
|
|
459
465
|
"pageViewConversion": {
|
|
466
|
+
"title": "Key page view",
|
|
467
|
+
"description": "A page view fires an explicit lintrk track mapped to a LinkedIn KEY_PAGE_VIEW conversion rule.",
|
|
460
468
|
"in": {
|
|
461
469
|
"name": "page view",
|
|
462
470
|
"data": {
|
|
@@ -511,7 +519,7 @@
|
|
|
511
519
|
"group": "gr0up",
|
|
512
520
|
"count": 1,
|
|
513
521
|
"version": {
|
|
514
|
-
"source": "3.4.
|
|
522
|
+
"source": "3.4.1",
|
|
515
523
|
"tagging": 1
|
|
516
524
|
},
|
|
517
525
|
"source": {
|
|
@@ -544,6 +552,7 @@
|
|
|
544
552
|
]
|
|
545
553
|
},
|
|
546
554
|
"partialFieldsOmitted": {
|
|
555
|
+
"public": false,
|
|
547
556
|
"in": {
|
|
548
557
|
"name": "order complete",
|
|
549
558
|
"data": {
|
|
@@ -630,7 +639,7 @@
|
|
|
630
639
|
"group": "gr0up",
|
|
631
640
|
"count": 1,
|
|
632
641
|
"version": {
|
|
633
|
-
"source": "3.4.
|
|
642
|
+
"source": "3.4.1",
|
|
634
643
|
"tagging": 1
|
|
635
644
|
},
|
|
636
645
|
"source": {
|
|
@@ -664,6 +673,8 @@
|
|
|
664
673
|
]
|
|
665
674
|
},
|
|
666
675
|
"simpleConversionId": {
|
|
676
|
+
"title": "Simple conversion",
|
|
677
|
+
"description": "A form submit fires a LinkedIn lintrk track with only a conversion_id from Campaign Manager.",
|
|
667
678
|
"in": {
|
|
668
679
|
"name": "form submit",
|
|
669
680
|
"data": {
|
|
@@ -720,7 +731,7 @@
|
|
|
720
731
|
"group": "gr0up",
|
|
721
732
|
"count": 1,
|
|
722
733
|
"version": {
|
|
723
|
-
"source": "3.4.
|
|
734
|
+
"source": "3.4.1",
|
|
724
735
|
"tagging": 1
|
|
725
736
|
},
|
|
726
737
|
"source": {
|
|
@@ -751,6 +762,7 @@
|
|
|
751
762
|
]
|
|
752
763
|
},
|
|
753
764
|
"unmappedEventIgnored": {
|
|
765
|
+
"public": false,
|
|
754
766
|
"in": {
|
|
755
767
|
"name": "product view",
|
|
756
768
|
"data": {
|
|
@@ -790,7 +802,7 @@
|
|
|
790
802
|
"group": "gr0up",
|
|
791
803
|
"count": 1,
|
|
792
804
|
"version": {
|
|
793
|
-
"source": "3.4.
|
|
805
|
+
"source": "3.4.1",
|
|
794
806
|
"tagging": 1
|
|
795
807
|
},
|
|
796
808
|
"source": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/web-destination-linkedin",
|
|
3
3
|
"description": "LinkedIn Insight Tag web destination for walkerOS (conversion tracking, retargeting, demographic insights)",
|
|
4
|
-
"version": "3.4.
|
|
4
|
+
"version": "3.4.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"update": "npx npm-check-updates -u && npm update"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@walkeros/web-core": "3.4.
|
|
40
|
+
"@walkeros/web-core": "3.4.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@walkeros/collector": "3.4.
|
|
43
|
+
"@walkeros/collector": "3.4.1"
|
|
44
44
|
},
|
|
45
45
|
"repository": {
|
|
46
46
|
"url": "git+https://github.com/elbwalker/walkerOS.git",
|