createRequest

fun createRequest(event: AnalyticsEvent, additionalParams: Map<String, Any?>): AnalyticsRequest

Builds an Analytics request for the given AnalyticsEvent, including common params + event-specific params defined in AnalyticsEvent.params

Parameters

additionalParams

any extra parameters that should be sent with this event. Ensure this common parameters are not already included in standardParams.