Class: DataHoover::Bags::SegmentAnalytics
- Inherits:
-
Object
- Object
- DataHoover::Bags::SegmentAnalytics
- Defined in:
- lib/data_hoover/bags/segment_analytics.rb
Class Method Summary collapse
Class Method Details
.tag(trackee_id:, traits:) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/data_hoover/bags/segment_analytics.rb', line 7 def tag(trackee_id:, traits:) client.identify( user_id: trackee_id, traits: traits ) end |
.wrap(trackee_id:, event:, properties:) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/data_hoover/bags/segment_analytics.rb', line 14 def wrap(trackee_id:, event:, properties:) client.track( user_id: trackee_id, event: event, properties: properties ) end |