API Event Track
This is the template API for event tracking.
API Track Event
POST
http://DOMAIN_X.com?portal_id=PORTAL_ID&prop_id=INSIGHT_PROPERTY_ID&resp_type=RESPONSE_TYPE
In more detail these common params for each API call
Query Parameters
redirect_url
string
When param resp_type is redirect nd event tracking is click then redirect_url should be use.
resp_type
string
Support that types: javascript, json, redirect, pixel. Default is javascript
portal_id
integer
Your business Account ID on the analytics system.
prop_id
integer
Your datasources ID on the analytics system such property as of Web , App Android, App IOS, POS,...
Request Body
context
object
Context properties data for events has describe detail bellowing.
extra
object
Extra properties data for event has described on bellowing
dims
object
The relation items on events as shop, warehouse, payment method, delivery method...
items
array
List items on events as: products
ea
string
Event action
ec
string
Event category
sid
integer
Hash any ID your users session on visiting your application and caching on SDK of device. default expired after 30 minutes over a session
aid
string
The device advertising ID as: AAID, IDFA
uid
string
1. You can set to anonymous User ID 2. On mobile can be able to use the device advertising id similar aid as AAID, IDFA .
_event_callback_data({"dgs":"1576222588%3A3%3A0","au_gt":"1571290715","pv_id":"1576222602739-7","n_client_id":0,"session_id":"6320","n_user":0,"au_id":"7","type":"event","aid":"7","client_id":"7.1558521539","an_session":"zlzgzhzjzdzkzdzizmzkzlzhzhzhzmzrzrzdzgzdzizmzkzlzhzhzhzlzjzhzdzizmzkzlzhzhzhzlzjzhzdzhzdzhzqzdzizd2f27zdzjzdzlzmzlzkzjzd"});
Last updated
Was this helpful?