createRequest
fun createRequest(event: AnalyticsEvent, additionalParams: Map<String, Any>): AnalyticsRequest
Content copied to clipboard
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.
Content copied to clipboard
Backwards compatible for events not inheriting AnalyticsEvent.