Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.12 KB

NewEvent.md

File metadata and controls

25 lines (18 loc) · 1.12 KB

TalonOne::NewEvent

Properties

Name Type Description Notes
profile_id String ID of the customer profile set by your integration layer. Note: If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. [optional]
store_integration_id String The integration ID of the store. You choose this ID when you create a store. [optional]
type String A string representing the event. Must not be a reserved event name.
attributes Object Arbitrary additional JSON data associated with the event.
session_id String The ID of the session that this event occurred in.

Code Sample

require 'TalonOne'

instance = TalonOne::NewEvent.new(profile_id: URNGV8294NV,
                                 store_integration_id: STORE-001,
                                 type: pageViewed,
                                 attributes: {"myAttribute":"myValue"},
                                 session_id: 175KJPS947296)