@walkeros/web-destination-posthog 3.3.1 → 3.4.0
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 +60 -50
- package/dist/examples/index.mjs +60 -50
- package/dist/walkerOS.json +80 -62
- package/package.json +3 -3
package/dist/examples/index.js
CHANGED
|
@@ -85,9 +85,9 @@ var c = {};
|
|
|
85
85
|
for (var o in n) e(t, o, { get: n[o], enumerable: true });
|
|
86
86
|
})(c, { Level: () => u });
|
|
87
87
|
var u = ((e2) => (e2[e2.ERROR = 0] = "ERROR", e2[e2.WARN = 1] = "WARN", e2[e2.INFO = 2] = "INFO", e2[e2.DEBUG = 3] = "DEBUG", e2))(u || {});
|
|
88
|
-
var
|
|
88
|
+
var W = { merge: true, shallow: true, extend: true };
|
|
89
89
|
function L(e2, t = {}, n = {}) {
|
|
90
|
-
n = { ...
|
|
90
|
+
n = { ...W, ...n };
|
|
91
91
|
const o = Object.entries(t).reduce((t2, [o2, r]) => {
|
|
92
92
|
const i = e2[o2];
|
|
93
93
|
return n.merge && Array.isArray(i) && Array.isArray(r) ? t2[o2] = r.reduce((e3, t3) => e3.includes(t3) ? e3 : [...e3, t3], [...i]) : (n.extend || o2 in e2) && (t2[o2] = r), t2;
|
|
@@ -96,7 +96,7 @@ function L(e2, t = {}, n = {}) {
|
|
|
96
96
|
}
|
|
97
97
|
function fe(e2 = {}) {
|
|
98
98
|
var _a;
|
|
99
|
-
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.
|
|
99
|
+
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.0", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
|
|
100
100
|
if (e2.name) {
|
|
101
101
|
const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
|
|
102
102
|
t2 && n2 && (r.entity = t2, r.action = n2);
|
|
@@ -111,7 +111,7 @@ function le(e2 = "entity action", t = {}) {
|
|
|
111
111
|
// src/examples/step.ts
|
|
112
112
|
var defaultEventForwarding = {
|
|
113
113
|
in: le("product view", { timestamp: 1700000100 }),
|
|
114
|
-
out: ["posthog.capture", "product view", {}]
|
|
114
|
+
out: [["posthog.capture", "product view", {}]]
|
|
115
115
|
};
|
|
116
116
|
var wildcardIgnored = {
|
|
117
117
|
in: le("debug noise", { timestamp: 1700000101 }),
|
|
@@ -122,15 +122,17 @@ var destinationLevelInclude = {
|
|
|
122
122
|
in: le("product view", { timestamp: 1700000102 }),
|
|
123
123
|
configInclude: ["data"],
|
|
124
124
|
out: [
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
125
|
+
[
|
|
126
|
+
"posthog.capture",
|
|
127
|
+
"product view",
|
|
128
|
+
{
|
|
129
|
+
data_id: "ers",
|
|
130
|
+
data_name: "Everyday Ruck Snack",
|
|
131
|
+
data_color: "black",
|
|
132
|
+
data_size: "l",
|
|
133
|
+
data_price: 420
|
|
134
|
+
}
|
|
135
|
+
]
|
|
134
136
|
]
|
|
135
137
|
};
|
|
136
138
|
var ruleIncludeReplaces = {
|
|
@@ -140,11 +142,13 @@ var ruleIncludeReplaces = {
|
|
|
140
142
|
include: ["globals"]
|
|
141
143
|
},
|
|
142
144
|
out: [
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
[
|
|
146
|
+
"posthog.capture",
|
|
147
|
+
"order complete",
|
|
148
|
+
{
|
|
149
|
+
globals_pagegroup: "shop"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
148
152
|
]
|
|
149
153
|
};
|
|
150
154
|
var destinationLevelIdentify = {
|
|
@@ -196,17 +200,19 @@ var userLoginIdentify = {
|
|
|
196
200
|
}
|
|
197
201
|
},
|
|
198
202
|
out: [
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
203
|
+
[
|
|
204
|
+
"posthog.identify",
|
|
205
|
+
"new-user-123",
|
|
206
|
+
{
|
|
207
|
+
email: "user@acme.com",
|
|
208
|
+
plan: "premium",
|
|
209
|
+
company: "Acme"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
first_login: 1700000105,
|
|
213
|
+
signup_source: "organic"
|
|
214
|
+
}
|
|
215
|
+
]
|
|
210
216
|
]
|
|
211
217
|
};
|
|
212
218
|
var profileUpdateSetPersonProperties = {
|
|
@@ -251,7 +257,7 @@ var userLogoutReset = {
|
|
|
251
257
|
reset: true
|
|
252
258
|
}
|
|
253
259
|
},
|
|
254
|
-
out: ["posthog.reset"]
|
|
260
|
+
out: [["posthog.reset"]]
|
|
255
261
|
};
|
|
256
262
|
var groupAssignmentWithProperties = {
|
|
257
263
|
in: le("company update", {
|
|
@@ -282,14 +288,16 @@ var groupAssignmentWithProperties = {
|
|
|
282
288
|
}
|
|
283
289
|
},
|
|
284
290
|
out: [
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
[
|
|
292
|
+
"posthog.group",
|
|
293
|
+
"company",
|
|
294
|
+
"company_123",
|
|
295
|
+
{
|
|
296
|
+
name: "Acme",
|
|
297
|
+
plan: "enterprise",
|
|
298
|
+
employee_count: 50
|
|
299
|
+
}
|
|
300
|
+
]
|
|
293
301
|
]
|
|
294
302
|
};
|
|
295
303
|
var orderCompleteWithInclude = {
|
|
@@ -298,29 +306,31 @@ var orderCompleteWithInclude = {
|
|
|
298
306
|
include: ["data", "globals"]
|
|
299
307
|
},
|
|
300
308
|
out: [
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
[
|
|
310
|
+
"posthog.capture",
|
|
311
|
+
"order complete",
|
|
312
|
+
{
|
|
313
|
+
data_id: "0rd3r1d",
|
|
314
|
+
data_currency: "EUR",
|
|
315
|
+
data_shipping: 5.22,
|
|
316
|
+
data_taxes: 73.76,
|
|
317
|
+
data_total: 555,
|
|
318
|
+
globals_pagegroup: "shop"
|
|
319
|
+
}
|
|
320
|
+
]
|
|
311
321
|
]
|
|
312
322
|
};
|
|
313
323
|
var consentRevokeOptOut = {
|
|
314
324
|
command: "consent",
|
|
315
325
|
in: { analytics: false },
|
|
316
326
|
settings: {},
|
|
317
|
-
out: ["posthog.opt_out_capturing"]
|
|
327
|
+
out: [["posthog.opt_out_capturing"]]
|
|
318
328
|
};
|
|
319
329
|
var consentGrantOptIn = {
|
|
320
330
|
command: "consent",
|
|
321
331
|
in: { analytics: true },
|
|
322
332
|
settings: {},
|
|
323
|
-
out: ["posthog.opt_in_capturing"]
|
|
333
|
+
out: [["posthog.opt_in_capturing"]]
|
|
324
334
|
};
|
|
325
335
|
// Annotate the CommonJS export names for ESM import in node:
|
|
326
336
|
0 && (module.exports = {
|
package/dist/examples/index.mjs
CHANGED
|
@@ -64,9 +64,9 @@ var c = {};
|
|
|
64
64
|
for (var o in n) e(t, o, { get: n[o], enumerable: true });
|
|
65
65
|
})(c, { Level: () => u });
|
|
66
66
|
var u = ((e2) => (e2[e2.ERROR = 0] = "ERROR", e2[e2.WARN = 1] = "WARN", e2[e2.INFO = 2] = "INFO", e2[e2.DEBUG = 3] = "DEBUG", e2))(u || {});
|
|
67
|
-
var
|
|
67
|
+
var W = { merge: true, shallow: true, extend: true };
|
|
68
68
|
function L(e2, t = {}, n = {}) {
|
|
69
|
-
n = { ...
|
|
69
|
+
n = { ...W, ...n };
|
|
70
70
|
const o = Object.entries(t).reduce((t2, [o2, r]) => {
|
|
71
71
|
const i = e2[o2];
|
|
72
72
|
return n.merge && Array.isArray(i) && Array.isArray(r) ? t2[o2] = r.reduce((e3, t3) => e3.includes(t3) ? e3 : [...e3, t3], [...i]) : (n.extend || o2 in e2) && (t2[o2] = r), t2;
|
|
@@ -75,7 +75,7 @@ function L(e2, t = {}, n = {}) {
|
|
|
75
75
|
}
|
|
76
76
|
function fe(e2 = {}) {
|
|
77
77
|
var _a;
|
|
78
|
-
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.
|
|
78
|
+
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.0", tagging: 1 }, source: { type: "web", id: "https://localhost:80", previous_id: "http://remotehost:9001" } }, e2, { merge: false });
|
|
79
79
|
if (e2.name) {
|
|
80
80
|
const [t2, n2] = (_a = e2.name.split(" ")) != null ? _a : [];
|
|
81
81
|
t2 && n2 && (r.entity = t2, r.action = n2);
|
|
@@ -90,7 +90,7 @@ function le(e2 = "entity action", t = {}) {
|
|
|
90
90
|
// src/examples/step.ts
|
|
91
91
|
var defaultEventForwarding = {
|
|
92
92
|
in: le("product view", { timestamp: 1700000100 }),
|
|
93
|
-
out: ["posthog.capture", "product view", {}]
|
|
93
|
+
out: [["posthog.capture", "product view", {}]]
|
|
94
94
|
};
|
|
95
95
|
var wildcardIgnored = {
|
|
96
96
|
in: le("debug noise", { timestamp: 1700000101 }),
|
|
@@ -101,15 +101,17 @@ var destinationLevelInclude = {
|
|
|
101
101
|
in: le("product view", { timestamp: 1700000102 }),
|
|
102
102
|
configInclude: ["data"],
|
|
103
103
|
out: [
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
104
|
+
[
|
|
105
|
+
"posthog.capture",
|
|
106
|
+
"product view",
|
|
107
|
+
{
|
|
108
|
+
data_id: "ers",
|
|
109
|
+
data_name: "Everyday Ruck Snack",
|
|
110
|
+
data_color: "black",
|
|
111
|
+
data_size: "l",
|
|
112
|
+
data_price: 420
|
|
113
|
+
}
|
|
114
|
+
]
|
|
113
115
|
]
|
|
114
116
|
};
|
|
115
117
|
var ruleIncludeReplaces = {
|
|
@@ -119,11 +121,13 @@ var ruleIncludeReplaces = {
|
|
|
119
121
|
include: ["globals"]
|
|
120
122
|
},
|
|
121
123
|
out: [
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
[
|
|
125
|
+
"posthog.capture",
|
|
126
|
+
"order complete",
|
|
127
|
+
{
|
|
128
|
+
globals_pagegroup: "shop"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
127
131
|
]
|
|
128
132
|
};
|
|
129
133
|
var destinationLevelIdentify = {
|
|
@@ -175,17 +179,19 @@ var userLoginIdentify = {
|
|
|
175
179
|
}
|
|
176
180
|
},
|
|
177
181
|
out: [
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
182
|
+
[
|
|
183
|
+
"posthog.identify",
|
|
184
|
+
"new-user-123",
|
|
185
|
+
{
|
|
186
|
+
email: "user@acme.com",
|
|
187
|
+
plan: "premium",
|
|
188
|
+
company: "Acme"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
first_login: 1700000105,
|
|
192
|
+
signup_source: "organic"
|
|
193
|
+
}
|
|
194
|
+
]
|
|
189
195
|
]
|
|
190
196
|
};
|
|
191
197
|
var profileUpdateSetPersonProperties = {
|
|
@@ -230,7 +236,7 @@ var userLogoutReset = {
|
|
|
230
236
|
reset: true
|
|
231
237
|
}
|
|
232
238
|
},
|
|
233
|
-
out: ["posthog.reset"]
|
|
239
|
+
out: [["posthog.reset"]]
|
|
234
240
|
};
|
|
235
241
|
var groupAssignmentWithProperties = {
|
|
236
242
|
in: le("company update", {
|
|
@@ -261,14 +267,16 @@ var groupAssignmentWithProperties = {
|
|
|
261
267
|
}
|
|
262
268
|
},
|
|
263
269
|
out: [
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
[
|
|
271
|
+
"posthog.group",
|
|
272
|
+
"company",
|
|
273
|
+
"company_123",
|
|
274
|
+
{
|
|
275
|
+
name: "Acme",
|
|
276
|
+
plan: "enterprise",
|
|
277
|
+
employee_count: 50
|
|
278
|
+
}
|
|
279
|
+
]
|
|
272
280
|
]
|
|
273
281
|
};
|
|
274
282
|
var orderCompleteWithInclude = {
|
|
@@ -277,29 +285,31 @@ var orderCompleteWithInclude = {
|
|
|
277
285
|
include: ["data", "globals"]
|
|
278
286
|
},
|
|
279
287
|
out: [
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
288
|
+
[
|
|
289
|
+
"posthog.capture",
|
|
290
|
+
"order complete",
|
|
291
|
+
{
|
|
292
|
+
data_id: "0rd3r1d",
|
|
293
|
+
data_currency: "EUR",
|
|
294
|
+
data_shipping: 5.22,
|
|
295
|
+
data_taxes: 73.76,
|
|
296
|
+
data_total: 555,
|
|
297
|
+
globals_pagegroup: "shop"
|
|
298
|
+
}
|
|
299
|
+
]
|
|
290
300
|
]
|
|
291
301
|
};
|
|
292
302
|
var consentRevokeOptOut = {
|
|
293
303
|
command: "consent",
|
|
294
304
|
in: { analytics: false },
|
|
295
305
|
settings: {},
|
|
296
|
-
out: ["posthog.opt_out_capturing"]
|
|
306
|
+
out: [["posthog.opt_out_capturing"]]
|
|
297
307
|
};
|
|
298
308
|
var consentGrantOptIn = {
|
|
299
309
|
command: "consent",
|
|
300
310
|
in: { analytics: true },
|
|
301
311
|
settings: {},
|
|
302
|
-
out: ["posthog.opt_in_capturing"]
|
|
312
|
+
out: [["posthog.opt_in_capturing"]]
|
|
303
313
|
};
|
|
304
314
|
export {
|
|
305
315
|
env_exports as env,
|
package/dist/walkerOS.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$meta": {
|
|
3
3
|
"package": "@walkeros/web-destination-posthog",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.4.0",
|
|
5
5
|
"type": "destination",
|
|
6
6
|
"platform": [
|
|
7
7
|
"web"
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"init": {
|
|
148
148
|
"posthog": {
|
|
149
149
|
"init": {
|
|
150
|
-
"$code": "()=>
|
|
150
|
+
"$code": "()=>Ih"
|
|
151
151
|
},
|
|
152
152
|
"capture": {
|
|
153
153
|
"$code": "()=>{}"
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"push": {
|
|
176
176
|
"posthog": {
|
|
177
177
|
"init": {
|
|
178
|
-
"$code": "()=>
|
|
178
|
+
"$code": "()=>Ih"
|
|
179
179
|
},
|
|
180
180
|
"capture": {
|
|
181
181
|
"$code": "()=>{}"
|
|
@@ -219,7 +219,9 @@
|
|
|
219
219
|
},
|
|
220
220
|
"settings": {},
|
|
221
221
|
"out": [
|
|
222
|
-
|
|
222
|
+
[
|
|
223
|
+
"posthog.opt_in_capturing"
|
|
224
|
+
]
|
|
223
225
|
]
|
|
224
226
|
},
|
|
225
227
|
"consentRevokeOptOut": {
|
|
@@ -229,7 +231,9 @@
|
|
|
229
231
|
},
|
|
230
232
|
"settings": {},
|
|
231
233
|
"out": [
|
|
232
|
-
|
|
234
|
+
[
|
|
235
|
+
"posthog.opt_out_capturing"
|
|
236
|
+
]
|
|
233
237
|
]
|
|
234
238
|
},
|
|
235
239
|
"defaultEventForwarding": {
|
|
@@ -272,7 +276,7 @@
|
|
|
272
276
|
"group": "gr0up",
|
|
273
277
|
"count": 1,
|
|
274
278
|
"version": {
|
|
275
|
-
"source": "3.
|
|
279
|
+
"source": "3.4.0",
|
|
276
280
|
"tagging": 1
|
|
277
281
|
},
|
|
278
282
|
"source": {
|
|
@@ -282,9 +286,11 @@
|
|
|
282
286
|
}
|
|
283
287
|
},
|
|
284
288
|
"out": [
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
289
|
+
[
|
|
290
|
+
"posthog.capture",
|
|
291
|
+
"product view",
|
|
292
|
+
{}
|
|
293
|
+
]
|
|
288
294
|
]
|
|
289
295
|
},
|
|
290
296
|
"destinationLevelIdentify": {
|
|
@@ -342,7 +348,7 @@
|
|
|
342
348
|
"group": "gr0up",
|
|
343
349
|
"count": 1,
|
|
344
350
|
"version": {
|
|
345
|
-
"source": "3.
|
|
351
|
+
"source": "3.4.0",
|
|
346
352
|
"tagging": 1
|
|
347
353
|
},
|
|
348
354
|
"source": {
|
|
@@ -410,7 +416,7 @@
|
|
|
410
416
|
"group": "gr0up",
|
|
411
417
|
"count": 1,
|
|
412
418
|
"version": {
|
|
413
|
-
"source": "3.
|
|
419
|
+
"source": "3.4.0",
|
|
414
420
|
"tagging": 1
|
|
415
421
|
},
|
|
416
422
|
"source": {
|
|
@@ -423,15 +429,17 @@
|
|
|
423
429
|
"data"
|
|
424
430
|
],
|
|
425
431
|
"out": [
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
432
|
+
[
|
|
433
|
+
"posthog.capture",
|
|
434
|
+
"product view",
|
|
435
|
+
{
|
|
436
|
+
"data_id": "ers",
|
|
437
|
+
"data_name": "Everyday Ruck Snack",
|
|
438
|
+
"data_color": "black",
|
|
439
|
+
"data_size": "l",
|
|
440
|
+
"data_price": 420
|
|
441
|
+
}
|
|
442
|
+
]
|
|
435
443
|
]
|
|
436
444
|
},
|
|
437
445
|
"groupAssignmentWithProperties": {
|
|
@@ -487,7 +495,7 @@
|
|
|
487
495
|
"group": "gr0up",
|
|
488
496
|
"count": 1,
|
|
489
497
|
"version": {
|
|
490
|
-
"source": "3.
|
|
498
|
+
"source": "3.4.0",
|
|
491
499
|
"tagging": 1
|
|
492
500
|
},
|
|
493
501
|
"source": {
|
|
@@ -517,14 +525,16 @@
|
|
|
517
525
|
}
|
|
518
526
|
},
|
|
519
527
|
"out": [
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
+
[
|
|
529
|
+
"posthog.group",
|
|
530
|
+
"company",
|
|
531
|
+
"company_123",
|
|
532
|
+
{
|
|
533
|
+
"name": "Acme",
|
|
534
|
+
"plan": "enterprise",
|
|
535
|
+
"employee_count": 50
|
|
536
|
+
}
|
|
537
|
+
]
|
|
528
538
|
]
|
|
529
539
|
},
|
|
530
540
|
"orderCompleteWithInclude": {
|
|
@@ -614,7 +624,7 @@
|
|
|
614
624
|
"group": "gr0up",
|
|
615
625
|
"count": 1,
|
|
616
626
|
"version": {
|
|
617
|
-
"source": "3.
|
|
627
|
+
"source": "3.4.0",
|
|
618
628
|
"tagging": 1
|
|
619
629
|
},
|
|
620
630
|
"source": {
|
|
@@ -630,16 +640,18 @@
|
|
|
630
640
|
]
|
|
631
641
|
},
|
|
632
642
|
"out": [
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
+
[
|
|
644
|
+
"posthog.capture",
|
|
645
|
+
"order complete",
|
|
646
|
+
{
|
|
647
|
+
"data_id": "0rd3r1d",
|
|
648
|
+
"data_currency": "EUR",
|
|
649
|
+
"data_shipping": 5.22,
|
|
650
|
+
"data_taxes": 73.76,
|
|
651
|
+
"data_total": 555,
|
|
652
|
+
"globals_pagegroup": "shop"
|
|
653
|
+
}
|
|
654
|
+
]
|
|
643
655
|
]
|
|
644
656
|
},
|
|
645
657
|
"profileUpdateSetPersonProperties": {
|
|
@@ -693,7 +705,7 @@
|
|
|
693
705
|
"group": "gr0up",
|
|
694
706
|
"count": 1,
|
|
695
707
|
"version": {
|
|
696
|
-
"source": "3.
|
|
708
|
+
"source": "3.4.0",
|
|
697
709
|
"tagging": 1
|
|
698
710
|
},
|
|
699
711
|
"source": {
|
|
@@ -819,7 +831,7 @@
|
|
|
819
831
|
"group": "gr0up",
|
|
820
832
|
"count": 1,
|
|
821
833
|
"version": {
|
|
822
|
-
"source": "3.
|
|
834
|
+
"source": "3.4.0",
|
|
823
835
|
"tagging": 1
|
|
824
836
|
},
|
|
825
837
|
"source": {
|
|
@@ -837,11 +849,13 @@
|
|
|
837
849
|
]
|
|
838
850
|
},
|
|
839
851
|
"out": [
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
852
|
+
[
|
|
853
|
+
"posthog.capture",
|
|
854
|
+
"order complete",
|
|
855
|
+
{
|
|
856
|
+
"globals_pagegroup": "shop"
|
|
857
|
+
}
|
|
858
|
+
]
|
|
845
859
|
]
|
|
846
860
|
},
|
|
847
861
|
"userLoginIdentify": {
|
|
@@ -898,7 +912,7 @@
|
|
|
898
912
|
"group": "gr0up",
|
|
899
913
|
"count": 1,
|
|
900
914
|
"version": {
|
|
901
|
-
"source": "3.
|
|
915
|
+
"source": "3.4.0",
|
|
902
916
|
"tagging": 1
|
|
903
917
|
},
|
|
904
918
|
"source": {
|
|
@@ -931,17 +945,19 @@
|
|
|
931
945
|
}
|
|
932
946
|
},
|
|
933
947
|
"out": [
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
948
|
+
[
|
|
949
|
+
"posthog.identify",
|
|
950
|
+
"new-user-123",
|
|
951
|
+
{
|
|
952
|
+
"email": "user@acme.com",
|
|
953
|
+
"plan": "premium",
|
|
954
|
+
"company": "Acme"
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"first_login": 1700000105,
|
|
958
|
+
"signup_source": "organic"
|
|
959
|
+
}
|
|
960
|
+
]
|
|
945
961
|
]
|
|
946
962
|
},
|
|
947
963
|
"userLogoutReset": {
|
|
@@ -1001,7 +1017,7 @@
|
|
|
1001
1017
|
"group": "gr0up",
|
|
1002
1018
|
"count": 1,
|
|
1003
1019
|
"version": {
|
|
1004
|
-
"source": "3.
|
|
1020
|
+
"source": "3.4.0",
|
|
1005
1021
|
"tagging": 1
|
|
1006
1022
|
},
|
|
1007
1023
|
"source": {
|
|
@@ -1017,7 +1033,9 @@
|
|
|
1017
1033
|
}
|
|
1018
1034
|
},
|
|
1019
1035
|
"out": [
|
|
1020
|
-
|
|
1036
|
+
[
|
|
1037
|
+
"posthog.reset"
|
|
1038
|
+
]
|
|
1021
1039
|
]
|
|
1022
1040
|
},
|
|
1023
1041
|
"wildcardIgnored": {
|
|
@@ -1077,7 +1095,7 @@
|
|
|
1077
1095
|
"group": "gr0up",
|
|
1078
1096
|
"count": 1,
|
|
1079
1097
|
"version": {
|
|
1080
|
-
"source": "3.
|
|
1098
|
+
"source": "3.4.0",
|
|
1081
1099
|
"tagging": 1
|
|
1082
1100
|
},
|
|
1083
1101
|
"source": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/web-destination-posthog",
|
|
3
3
|
"description": "PostHog web destination for walkerOS (product analytics, session replay, feature flags, surveys)",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.4.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"posthog-js": "^1.367.0",
|
|
41
|
-
"@walkeros/web-core": "3.
|
|
41
|
+
"@walkeros/web-core": "3.4.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@walkeros/collector": "3.
|
|
44
|
+
"@walkeros/collector": "3.4.0"
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|
|
47
47
|
"url": "git+https://github.com/elbwalker/walkerOS.git",
|