behavior_analytics 2.2.0 → 2.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f432cc493196bc1c00cbdcdbc7d8e2de54271391012d138a20c7920f7126f981
4
- data.tar.gz: 0bef407d3e3d30d70449b20071b54cbf43aae1cb099f2f156d22dc1a3e41a359
3
+ metadata.gz: bead5d234d7e827224b697cda617f6ce4e78839e34e419350fc91a9b1c50732d
4
+ data.tar.gz: 0c6bf809b8321a256f15d3830d43c2d9955acb9c946cee6dfe7a884603b3037a
5
5
  SHA512:
6
- metadata.gz: 05e3d818e1b1b4e431ba31e379ac7c8d79492219a0cf9504848084f938f3ce41332b4989c658d6a9d748a35d3716b231460712bc331b9f607473d552ab309b7d
7
- data.tar.gz: fa8aa9ce4b51f5a8741140803ff4f8d2b37d4843ba6d2c28088b3e1bb390fa1d47fd9e89c59cf57869d8e54168fa76bd265f45b8293dd78fadcfea27736234bb
6
+ metadata.gz: 29c2f5c9e7897e5d3bddda1c64f2cc67b9950c69581435c0dfbf98574f6bc2fc74954685b81499f19f58f62f5754c1c4a846dc4f79029e78ac2b799380be34a6
7
+ data.tar.gz: fa54c278f349cafb3068c388c4e9ca2d34bfd091a88a549ee431fc2546604da4b8a84578f362adc24e546ae6122613cadc524d40aa7444d76f9e50de417543f6
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Behavior Analytics
2
2
 
3
- A comprehensive Ruby gem for tracking user behavior events with multi-tenant support, visit/session management, device detection, geographic analytics, and advanced querying capabilities. Inspired by Ahoy analytics with enterprise-grade features.
3
+ A comprehensive Ruby gem for tracking user behavior events with multi-tenant support, visit/session management, device detection, geographic analytics, and advanced querying capabilities with enterprise-grade features.
4
4
 
5
5
  ## Features
6
6
 
@@ -35,7 +35,7 @@ A comprehensive Ruby gem for tracking user behavior events with multi-tenant sup
35
35
  - **Event Streaming**: Real-time event pub/sub system
36
36
 
37
37
  ### Developer Experience
38
- - **Simplified API**: Ahoy-inspired simple tracking API with automatic context resolution
38
+ - **Simplified API**: Simple tracking API with automatic context resolution
39
39
  - **Rails Integration**: Automatic API call tracking via middleware with selective tracking
40
40
  - **Query Interface**: Fluent query builder for filtering events with advanced aggregations
41
41
  - **JavaScript Client**: Frontend tracking with automatic page views and click tracking
@@ -117,7 +117,7 @@ BehaviorAnalytics.configure do |config|
117
117
  time_in_trial: 0.1
118
118
  }
119
119
 
120
- # Visit/Session Management (Ahoy-inspired features)
120
+ # Visit/Session Management
121
121
  config.track_visits = true # Enable visit tracking
122
122
  config.visit_duration = 30.minutes # Visit expires after 30 min of inactivity
123
123
  config.track_device_info = true # Auto-detect device, browser, OS
@@ -167,9 +167,9 @@ Or use the inline script generator:
167
167
 
168
168
  ## Usage
169
169
 
170
- ### Simplified API (Ahoy-Inspired)
170
+ ### Simplified API
171
171
 
172
- The gem provides a simplified API similar to Ahoy for easy tracking:
172
+ The gem provides a simplified API for easy tracking:
173
173
 
174
174
  ```ruby
175
175
  # Simple event tracking with automatic context resolution
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = "Track user behavior events with visit tracking, device detection, and comprehensive analytics"
12
12
  spec.description = "A comprehensive Ruby gem for tracking user behavior events with multi-tenant support, " \
13
- "visit/session management (Ahoy-inspired), device & browser detection, geographic analytics, " \
13
+ "visit/session management, device & browser detection, geographic analytics, " \
14
14
  "referrer tracking, and advanced analytics (engagement scores, funnels, cohorts, retention). " \
15
15
  "Supports API calls, feature usage, custom events, and JavaScript client-side tracking."
16
16
  spec.homepage = "https://github.com/nerdawey/behavior_analytics"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BehaviorAnalytics
4
- VERSION = "2.2.0"
4
+ VERSION = "2.2.1"
5
5
  end
@@ -205,7 +205,7 @@ module BehaviorAnalytics
205
205
  Tracker.new(options)
206
206
  end
207
207
 
208
- # Simplified API methods (Ahoy-inspired)
208
+ # Simplified API methods
209
209
  def track(event_name, properties: {}, event_type: :custom, context: nil, **options)
210
210
  # Resolve context automatically if not provided
211
211
  context ||= resolve_default_context
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.0
4
+ version: 2.2.1
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 (Ahoy-inspired), device & browser detection, geographic
71
- analytics, referrer tracking, and advanced analytics (engagement scores, funnels,
72
- cohorts, retention). Supports API calls, feature usage, custom events, and JavaScript
73
- client-side tracking.
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: []