behavior_analytics 2.2.0 → 2.2.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.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/behavior_analytics.gemspec +1 -1
- data/db/migrate/003_create_behavior_visits.rb +38 -0
- data/db/migrate/004_add_visit_fields_to_events.rb +12 -0
- data/lib/behavior_analytics/analytics/geographic.rb +59 -0
- data/lib/behavior_analytics/analytics/referrer.rb +82 -0
- data/lib/behavior_analytics/cleanup/retention_policy.rb +39 -0
- data/lib/behavior_analytics/cleanup/scheduler.rb +42 -0
- data/lib/behavior_analytics/detection/device_detector.rb +104 -0
- data/lib/behavior_analytics/detection/geolocation.rb +67 -0
- data/lib/behavior_analytics/helpers/tracking_helper.rb +67 -0
- data/lib/behavior_analytics/identification/user_resolver.rb +55 -0
- data/lib/behavior_analytics/javascript/client.rb +167 -0
- data/lib/behavior_analytics/version.rb +1 -1
- data/lib/behavior_analytics/visits/auto_creator.rb +85 -0
- data/lib/behavior_analytics/visits/manager.rb +150 -0
- data/lib/behavior_analytics/visits/visit.rb +88 -0
- data/lib/behavior_analytics.rb +1 -1
- data/vendor/assets/javascripts/behavior_analytics.js +159 -0
- metadata +20 -5
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: behavior_analytics
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- nerdawey
|
|
@@ -67,10 +67,10 @@ dependencies:
|
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '1.6'
|
|
69
69
|
description: A comprehensive Ruby gem for tracking user behavior events with multi-tenant
|
|
70
|
-
support, visit/session management
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
support, visit/session management, device & browser detection, geographic analytics,
|
|
71
|
+
referrer tracking, and advanced analytics (engagement scores, funnels, cohorts,
|
|
72
|
+
retention). Supports API calls, feature usage, custom events, and JavaScript client-side
|
|
73
|
+
tracking.
|
|
74
74
|
email:
|
|
75
75
|
- nerdawy@icloud.com
|
|
76
76
|
executables: []
|
|
@@ -84,21 +84,32 @@ files:
|
|
|
84
84
|
- behavior_analytics.gemspec
|
|
85
85
|
- db/migrate/001_create_behavior_events.rb
|
|
86
86
|
- db/migrate/002_enhance_behavior_events_v2.rb
|
|
87
|
+
- db/migrate/003_create_behavior_visits.rb
|
|
88
|
+
- db/migrate/004_add_visit_fields_to_events.rb
|
|
87
89
|
- lib/behavior_analytics.rb
|
|
88
90
|
- lib/behavior_analytics/analytics/cohorts.rb
|
|
89
91
|
- lib/behavior_analytics/analytics/engine.rb
|
|
90
92
|
- lib/behavior_analytics/analytics/funnels.rb
|
|
93
|
+
- lib/behavior_analytics/analytics/geographic.rb
|
|
94
|
+
- lib/behavior_analytics/analytics/referrer.rb
|
|
91
95
|
- lib/behavior_analytics/analytics/retention.rb
|
|
96
|
+
- lib/behavior_analytics/cleanup/retention_policy.rb
|
|
97
|
+
- lib/behavior_analytics/cleanup/scheduler.rb
|
|
92
98
|
- lib/behavior_analytics/context.rb
|
|
93
99
|
- lib/behavior_analytics/debug/inspector.rb
|
|
100
|
+
- lib/behavior_analytics/detection/device_detector.rb
|
|
101
|
+
- lib/behavior_analytics/detection/geolocation.rb
|
|
94
102
|
- lib/behavior_analytics/event.rb
|
|
95
103
|
- lib/behavior_analytics/export/csv_exporter.rb
|
|
96
104
|
- lib/behavior_analytics/export/json_exporter.rb
|
|
105
|
+
- lib/behavior_analytics/helpers/tracking_helper.rb
|
|
97
106
|
- lib/behavior_analytics/hooks/callback.rb
|
|
98
107
|
- lib/behavior_analytics/hooks/manager.rb
|
|
99
108
|
- lib/behavior_analytics/hooks/webhook.rb
|
|
109
|
+
- lib/behavior_analytics/identification/user_resolver.rb
|
|
100
110
|
- lib/behavior_analytics/integrations/rails.rb
|
|
101
111
|
- lib/behavior_analytics/integrations/rails/middleware.rb
|
|
112
|
+
- lib/behavior_analytics/javascript/client.rb
|
|
102
113
|
- lib/behavior_analytics/jobs/active_event_job.rb
|
|
103
114
|
- lib/behavior_analytics/jobs/delayed_event_job.rb
|
|
104
115
|
- lib/behavior_analytics/jobs/sidekiq_event_job.rb
|
|
@@ -123,9 +134,13 @@ files:
|
|
|
123
134
|
- lib/behavior_analytics/throttling/limiter.rb
|
|
124
135
|
- lib/behavior_analytics/tracker.rb
|
|
125
136
|
- lib/behavior_analytics/version.rb
|
|
137
|
+
- lib/behavior_analytics/visits/auto_creator.rb
|
|
138
|
+
- lib/behavior_analytics/visits/manager.rb
|
|
139
|
+
- lib/behavior_analytics/visits/visit.rb
|
|
126
140
|
- lib/generators/behavior_analytics/install_generator.rb
|
|
127
141
|
- lib/generators/behavior_analytics/templates/create_behavior_events.rb
|
|
128
142
|
- sig/behavior_analytics.rbs
|
|
143
|
+
- vendor/assets/javascripts/behavior_analytics.js
|
|
129
144
|
homepage: https://github.com/nerdawey/behavior_analytics
|
|
130
145
|
licenses:
|
|
131
146
|
- MIT
|