Tracking API Reference

If EventNative is not configured to listen to Google Analytics or Segment events, you need to track these events manually. Unlike other analytics providers, EventNative is schema-less by design. You can send any parameters you wish without having to reconfigure the backend.

.id() sets the properties of the user (such as name, e-mail, internal id — any parameters are accepted){
"name": "Man with No Name",
"email": "[email protected]",
"internal_id": "6"

By default, a user_identification event will be sent. However, it can be changed by setting the second parameter to true.{...}, true);

.track() is used to record any event happens with user

eventN.track('{event_name}', {...event data})
eventN.track('product_page_view', {
product_id: '1e48fb70-ef12-4ea9-ab10-fd0b910c49ce',
product_price: 399,
price_currency: 'USD'

If id() has been called prior to track(), all user details will be included. Also, do not include parameters such as page URL and user agent. EventNative collects this automatically!

Read more about our event scheme here.