JS Parameters Reference

Both in npm and standalone mode, EventNative accepts following parameters

Parameter

Value

key *

Required. API key (see Configuration Manual)

tracking_host

If not set, EventNative will do the best attempt to detect it automatically

cookie_name

Name of tracking cookie (__kpix_id by default)

ga_hook

If set to true, EventNative will automatically listen to Google Analytics events and collect them.

segment_hook

If set to true, EventNative will automatically listen to Segment's analytics.js event and collect them.

‚Äč