@indiebob/tracker 0.3.0 → 0.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/CHANGELOG.md +32 -0
- package/README.md +112 -508
- package/dist/index.cjs +187 -94
- package/dist/index.d.mts +36 -7
- package/dist/index.d.ts +36 -7
- package/dist/index.global.js +2 -2
- package/dist/index.js +187 -94
- package/dist/server.d.mts +17 -2
- package/dist/server.d.ts +17 -2
- package/dist/server.js +15 -2
- package/dist/server.mjs +15 -2
- package/dist/vue.cjs +187 -94
- package/dist/vue.global.js +2 -2
- package/dist/vue.js +187 -94
- package/package.json +2 -2
- package/dist/chunk-4IK5PET7.js +0 -2
- package/dist/chunk-DZOEO647.js +0 -2
- package/dist/chunk-XKQYO25W.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,38 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## [0.4.1] — 2026-11-02
|
|
10
|
+
|
|
11
|
+
- Shorter README. No code changes.
|
|
12
|
+
|
|
13
|
+
## [0.4.0] — 2026-11-02
|
|
14
|
+
|
|
15
|
+
Privacy mode is the default: the tracker stores nothing in the visitor's browser, and IndieBob's
|
|
16
|
+
server identifies a visitor for one day from a hash of a daily salt, the project, the IP address and
|
|
17
|
+
the user agent. The 0.3 behaviour is `persistence: 'local'` (needs consent in the EU).
|
|
18
|
+
|
|
19
|
+
Needs IndieBob's `/api/collect` from 2026-11-02 or later; an older server rejects events without
|
|
20
|
+
`anonymousId`.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- Without `persistence: 'local'`, a visitor who comes back on another day is a new visitor, and a
|
|
24
|
+
signup is not credited to a visit on an earlier day.
|
|
25
|
+
- In privacy mode `identify()` sends `signup` / `login` only when you pass `{ isNew }`.
|
|
26
|
+
- `getAnonymousId()` and `getSessionId()` return `''` in privacy mode.
|
|
27
|
+
- Page paths and URLs keep only the `utm_*` and `ref` query parameters; referrers keep origin and
|
|
28
|
+
path. A navigation that changes only another query parameter is no longer a new page.
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
- `persistence: 'none' | 'local'`, `data-persistence="local"`, and `bob.setPersistence()` for consent
|
|
32
|
+
banners (`'none'` removes everything the tracker stored).
|
|
33
|
+
- A warning for unknown or misspelled options.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
- Nothing is written to storage before Do Not Track, Global Privacy Control and opt-out are checked.
|
|
37
|
+
|
|
38
|
+
### Size
|
|
39
|
+
- Script tag 5,699 bytes gzipped (0.3.0: 5,076).
|
|
40
|
+
|
|
9
41
|
## [0.3.0] — 2026-11-01
|
|
10
42
|
|
|
11
43
|
The npm module bundles (`index.js`/`.cjs`, `vue.js`/`.cjs`) are no longer
|