user-analytics-tracker 1.2.0

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 ADDED
@@ -0,0 +1,59 @@
1
+ # [1.3.0](https://github.com/switch-org/analytics-tracker/compare/v1.2.0...v1.3.0) (2025-11-24)
2
+
3
+
4
+ ### Features
5
+
6
+ * location and network detector updated ([4dd4dde](https://github.com/switch-org/analytics-tracker/commit/4dd4ddedf6e285ba4fc2cd330b6e183a8218b4e2))
7
+
8
+ # [1.2.0](https://github.com/switch-org/analytics-tracker/compare/v1.1.0...v1.2.0) (2025-11-21)
9
+
10
+
11
+ ### Features
12
+
13
+ * updated . ([7667448](https://github.com/switch-org/analytics-tracker/commit/7667448d798668d14a794503b332ff36fbcacdbd))
14
+
15
+ # [1.1.0](https://github.com/switch-org/analytics-tracker/compare/v1.0.0...v1.1.0) (2025-11-21)
16
+
17
+
18
+ ### Features
19
+
20
+ * test cases and added public ip tracking ([2af5fb2](https://github.com/switch-org/analytics-tracker/commit/2af5fb2c4198501f7d8900af97f0ab5bf9afcf37))
21
+ * update ip tracking if browser geolocation is undefined ([d1869d6](https://github.com/switch-org/analytics-tracker/commit/d1869d62e0f3221e88fc6493993ba18a9b4cf0b6))
22
+
23
+ # 1.0.0 (2025-11-21)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * update workflows and configuration ([910f610](https://github.com/switch-org/analytics-tracker/commit/910f610c7a740ce49e3b3cce0d681c07ad3cb2dd))
29
+ * update workflows and configuration ([5eb48cb](https://github.com/switch-org/analytics-tracker/commit/5eb48cb38cdee415d8a20b83f0a34705230bd4f2))
30
+
31
+
32
+ ### Features
33
+
34
+ * update workflows ([14586fd](https://github.com/switch-org/analytics-tracker/commit/14586fd7be5eb67a0aeb68fbe2d5b2d4de736aad))
35
+ * update workflows ([0dae885](https://github.com/switch-org/analytics-tracker/commit/0dae8858b0fba63523f1ea999132aaacb66482a2))
36
+
37
+ # Changelog
38
+
39
+ All notable changes to this project will be documented in this file.
40
+
41
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
42
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
43
+
44
+ ## [Unreleased]
45
+
46
+ ### Added
47
+ - Initial release with comprehensive analytics tracking
48
+ - Device detection with User-Agent Client Hints support
49
+ - Network type detection (WiFi, Cellular, Hotspot, Ethernet)
50
+ - GPS location tracking with consent management
51
+ - Attribution tracking (UTM parameters, referrer, first/last touch)
52
+ - IP geolocation utilities for server-side tracking
53
+ - React hook `useAnalytics` for easy integration
54
+ - TypeScript support with full type definitions
55
+ - Hotspot detection and gating support
56
+ - MSISDN-based location consent management
57
+ - Comprehensive test suite
58
+
59
+ [Unreleased]: https://github.com/switch-org/analytics-tracker
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Switch Org
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+