Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.78 KB

EventV2.md

File metadata and controls

25 lines (18 loc) · 1.78 KB

TalonOne::EventV2

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]
evaluable_campaign_ids Array<Integer> When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. [optional]
type String A string representing the event name. Must not be a reserved event name. You create this value when you create an attribute of type `event` in the Campaign Manager.
attributes Object Arbitrary additional JSON properties associated with the event. They must be created in the Campaign Manager before setting them with this property. See creating custom attributes. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::EventV2.new(profile_id: URNGV8294NV,
                                 store_integration_id: STORE-001,
                                 evaluable_campaign_ids: [10, 12],
                                 type: pageViewed,
                                 attributes: {&quot;myAttribute&quot;:&quot;myValue&quot;})