@blinkdotnew/sdk 0.10.0 → 0.10.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/README.md +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -597,6 +597,13 @@ blink.analytics.clearAttribution()
|
|
|
597
597
|
|
|
598
598
|
// Features: Privacy-first, offline support, event batching, session management
|
|
599
599
|
// Attribution: UTM params persist across sessions for conversion tracking
|
|
600
|
+
|
|
601
|
+
// How UTM persistence works:
|
|
602
|
+
// 1. User visits with ?utm_source=google&utm_campaign=summer_sale
|
|
603
|
+
// 2. These params are saved to localStorage for attribution
|
|
604
|
+
// 3. Future events (even days later) include these UTM params
|
|
605
|
+
// 4. Perfect for tracking which campaigns drive conversions
|
|
606
|
+
// 5. New UTM params override old ones (last-touch model available)
|
|
600
607
|
```
|
|
601
608
|
|
|
602
609
|
### Realtime Operations
|
package/package.json
CHANGED