public class TrackerEvent
extends java.lang.Object
| Constructor and Description |
|---|
TrackerEvent(Event event,
TrackerParameters parameters,
Subject subject) |
| Modifier and Type | Method and Description |
|---|---|
Event |
getEvent()
Returns the
Event |
java.util.List<TrackerPayload> |
getTrackerPayloads()
Converts a
Event to a list of TrackerPayload and caches the values. |
public TrackerEvent(Event event, TrackerParameters parameters, Subject subject)
public java.util.List<TrackerPayload> getTrackerPayloads()
Event to a list of TrackerPayload and caches the values.
Returns a list as some Events contain nested payloads (e.g. EcommerceTransaction)
Adds fields to the TrackerPayload based on the type of the Event.