The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.
Dev guideRecipesAPI ReferenceChangelog
Dev guideAPI ReferenceRecipesChangelogUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev guide

Log event notification listener

Describes the log event notification listener, which lets you know what data was sent to Optimizely Feature Experimentation in a given event batch, and when the batch was sent.

The log event notification listener is similar to the track notification listener but provides more granularity. You can use it to inspect and audit what data was sent to Optimizely in a given event batch, and when the batch was sent.

Parameters

The following table shows the information provided to the log event listener when it is triggered:

ParameterTypeDescription
log eventLog EventA LogEvent object containing a batch of conversion and decision events. Created by the EventFactory whenever the event processor produces a batch. For information, see the following table.

Log Event

The LogEvent object represents the batch of decision and conversion events passed to the event dispatcher.

ObjectTypeDescription
http verb
Required (non null)
StringThe HTTP verb to use when dispatching the log event. Can be GET or POST.
url
Required (non null)
StringURL to dispatch log event to.
params
Required (non null)
DictThe event batch. Contains all events in the batch, including a list of visitors and their associated UserEvent objects.
headersDictRequest headers.

Examples

For code examples, see the following SDK documentation on notification listeners:


Did this page help you?