@heycatch/sdk 0.8.3-dev.2283 → 0.8.4-dev.2343
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/README.md +8 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -2
- package/dist/react-native.cjs +1 -1
- package/dist/server.cjs +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -86,6 +86,14 @@ analytics.optOutCapturing(); // consent withdrawn - stop again
|
|
|
86
86
|
While the gate is closed nothing is written to browser storage either, so no
|
|
87
87
|
identifier lands before consent - not just "no events sent".
|
|
88
88
|
|
|
89
|
+
A visitor who arrives through one of your HeyCatch short links lands on a URL
|
|
90
|
+
carrying `?utm_source=heycatch&utm_campaign=<letter>`. The SDK removes those
|
|
91
|
+
from the address bar a second after the first capture has read them - and
|
|
92
|
+
behind the gate, that first capture is the one `optInCapturing()` makes, so
|
|
93
|
+
the URL stays as it is until then and the visit is still attributed after
|
|
94
|
+
consent. Your own UTM links (any `utm_source` other than `heycatch`) are never
|
|
95
|
+
touched.
|
|
96
|
+
|
|
89
97
|
Call `init()` before either one. Neither is remembered if it runs first -
|
|
90
98
|
there is no transport yet to carry the decision - and both warn on the
|
|
91
99
|
console when that happens rather than failing quietly. `init()`'s own config
|