@reservamos/browser-analytics 1.1.1 → 1.1.2
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 +5 -0
- package/dist/browser-analytics.cjs +2 -2
- package/dist/browser-analytics.cjs.map +1 -1
- package/dist/browser-analytics.esm.js +61 -25
- package/dist/browser-analytics.esm.js.map +1 -1
- package/dist/browser-analytics.iife.js +2 -2
- package/dist/browser-analytics.iife.js.map +1 -1
- package/package.json +1 -1
- package/src/init.ts +1 -1
- package/src/services/geolocation.test.ts +109 -23
- package/src/services/geolocation.ts +90 -24
- package/src/track.ts +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.1.2
|
|
4
|
+
|
|
5
|
+
- Add `latitude` and `longitude` to the `Geolocation Requested` event.
|
|
6
|
+
- Add `geolocation_source` to the `Geolocation Requested` event, user profile, and default event properties when browser coordinates are available. Currently set to `browser`.
|
|
7
|
+
|
|
3
8
|
## 1.1.1
|
|
4
9
|
|
|
5
10
|
- Register `Event Source` as a Mixpanel super property with fixed value `sdk` via `mixpanel.register()` on init, so all events tracked through the SDK include it.
|