Methods

exampleAnalyticsEvent

static

exampleAnalyticsEvent() returns functions.analytics.AnalyticsEvent

Fetch an example AnalyticsEvent already populated with data.

Returns

non-null functions.analytics.AnalyticsEvent 

makeAnalyticsEvent

static

makeAnalyticsEvent(fields) returns functions.analytics.AnalyticsEvent

Function to create an Analytics event.

Parameter

fields

Object

Fields of AnalyticsEvent to specify. Can be any subset of the fields in functions.analytics.analyticsEvent.

Value must not be null.

Returns

non-null functions.analytics.AnalyticsEvent