How to track custom events from the website
What can be customized
Data collected from this event type can be customised by the administrator of the website.
Add custom call to the SDK function MeiroEvents.track("customEvent",{"HTMLevent_example1":""HTMLevent_example2"};
The Custom Event can record any event possible to collect through JavaScript and JSON listeners. The list of all trackable custom events can be found under this link.
Example
For example, tracking custom events (for example transactions, usernames for logins, etc.) can be done using the custom call to the SDK function as follows MeiroEvents.track("customEvent", {"action": "login", "username": "user"});
The second part ({"action": "login", "username": "user A"}) is customizable. We recommend inserting there identification attributes (like email, phone number, username, etc.).
For more details please contact the Meiro team.