class Optimizely::ConversionEvent

Attributes

bot_filtering[R]

Represents conversion event

event[R]

Represents conversion event

tags[R]

Represents conversion event

user_id[R]

Represents conversion event

visitor_attributes[R]

Represents conversion event

Public Class Methods

new( event_context:, event:, user_id:, visitor_attributes:, tags:, bot_filtering: ) click to toggle source
# File lib/optimizely/event/entity/conversion_event.rb, line 25
def initialize(
  event_context:,
  event:,
  user_id:,
  visitor_attributes:,
  tags:,
  bot_filtering:
)
  @event_context = event_context
  @uuid = SecureRandom.uuid
  @timestamp = Helpers::DateTimeUtils.create_timestamp
  @event = event
  @user_id = user_id
  @visitor_attributes = visitor_attributes
  @tags = tags
  @bot_filtering = bot_filtering
end