@walkeros/web-destination-piano 4.7.2 → 4.8.0-next-1791496487198
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/CHANGELOG.md +10 -0
- package/README.md +8 -5
- package/dist/walkerOS.json +4 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @walkeros/web-destination-piano
|
|
2
2
|
|
|
3
|
+
## 4.8.0-next-1791496487198
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [7132619]
|
|
8
|
+
- Updated dependencies [5593d7b]
|
|
9
|
+
- Updated dependencies [421233d]
|
|
10
|
+
- @walkeros/core@4.8.0-next-1791496487198
|
|
11
|
+
- @walkeros/web-core@4.8.0-next-1791496487198
|
|
12
|
+
|
|
3
13
|
## 4.7.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -51,8 +51,10 @@ npm install @walkeros/web-destination-piano
|
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
With `loadScript: true` the destination loads the Piano SDK script and calls
|
|
54
|
-
`pa.setConfigurations({ site, collectDomain })`
|
|
55
|
-
|
|
54
|
+
`pa.setConfigurations({ site, collectDomain })` once the script has loaded.
|
|
55
|
+
Events that arrive before that are dropped, so the page view at start is lost.
|
|
56
|
+
If you load the SDK yourself before walkerOS starts, omit `loadScript`; the
|
|
57
|
+
destination then configures `window.pa` on init.
|
|
56
58
|
|
|
57
59
|
## Settings
|
|
58
60
|
|
|
@@ -60,12 +62,13 @@ yourself, omit `loadScript` and make sure `pa` is available on `window`.
|
|
|
60
62
|
| --------------- | -------- | -------- | ------------------------------------------------------------ |
|
|
61
63
|
| `site` | `number` | yes | Piano Analytics site id, from your collection settings. |
|
|
62
64
|
| `collectDomain` | `string` | yes | Collection domain endpoint, like `https://xxxxxxx.pa-cd.com` |
|
|
63
|
-
| `options` | `object` | no | Additional Piano `setConfigurations` options
|
|
65
|
+
| `options` | `object` | no | Additional Piano `setConfigurations` options. |
|
|
64
66
|
|
|
65
67
|
## Mapping
|
|
66
68
|
|
|
67
|
-
|
|
68
|
-
`pa.sendEvent(name, data)`.
|
|
69
|
+
Map each event to a Piano event name and a property object; the destination
|
|
70
|
+
sends it with `pa.sendEvent(name, data)`. Without a rule, the walkerOS event
|
|
71
|
+
name is sent as is, with no properties. Piano uses dot-notation event names like
|
|
69
72
|
`page.display`.
|
|
70
73
|
|
|
71
74
|
| walkerOS event | Piano event | Notes |
|
package/dist/walkerOS.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$meta": {
|
|
3
3
|
"package": "@walkeros/web-destination-piano",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.8.0-next-1791496487198",
|
|
5
5
|
"type": "destination",
|
|
6
6
|
"platform": [
|
|
7
7
|
"web"
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"consent": {
|
|
114
114
|
"functional": true
|
|
115
115
|
},
|
|
116
|
-
"id": "
|
|
116
|
+
"id": "d776fbe11bbbf99f",
|
|
117
117
|
"trigger": "test",
|
|
118
118
|
"entity": "entity",
|
|
119
119
|
"action": "action",
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"consent": {
|
|
207
207
|
"functional": true
|
|
208
208
|
},
|
|
209
|
-
"id": "
|
|
209
|
+
"id": "35ad3286a8de863d",
|
|
210
210
|
"trigger": "load",
|
|
211
211
|
"entity": "page",
|
|
212
212
|
"action": "view",
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
"consent": {
|
|
320
320
|
"functional": true
|
|
321
321
|
},
|
|
322
|
-
"id": "
|
|
322
|
+
"id": "53c1d23024afb8ea",
|
|
323
323
|
"trigger": "load",
|
|
324
324
|
"entity": "order",
|
|
325
325
|
"action": "complete",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/web-destination-piano",
|
|
3
3
|
"description": "Piano Analytics web destination for walkerOS",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.8.0-next-1791496487198",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"update": "npx npm-check-updates -u && npm update"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@walkeros/core": "4.
|
|
42
|
-
"@walkeros/web-core": "4.
|
|
41
|
+
"@walkeros/core": "4.8.0-next-1791496487198",
|
|
42
|
+
"@walkeros/web-core": "4.8.0-next-1791496487198"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@walkeros/collector": "4.
|
|
45
|
+
"@walkeros/collector": "4.8.0-next-1791496487198"
|
|
46
46
|
},
|
|
47
47
|
"repository": {
|
|
48
48
|
"url": "git+https://github.com/elbwalker/walkerOS.git",
|