The LOGEVENT notification listener is similar to the TRACK notification listener, but provides more granularity. It lets you know what data was sent to Optimizely in a given event batch, and when the batch was sent. For more information about event batching, see the corresponding topic for your SDK language. You can use this notification listener to inspect and audit what data you're sending to Optimizely.
The following tables show the information provided to the listener when it is triggered:
Whenever the event processor produces a batch of events, a LogEvent object will be created using the EventFactory.
The Log Event object is created using EventFactory. It represents the batch of decision and conversion events that have been passed to the Event Dispatcher to be sent to the Optimizely backend.
The HTTP verb to use when dispatching the log event. It can be Get or Post.
URL to dispatch log event to.
Event Batch. It contains all the information regarding every event which is batched, including a list of visitors which contains UserEvent.
For example code, see the notification listener topic in your SDK language.
Updated about 2 years ago