ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

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.

The Custom Event can record any action possible to collect through JavaScript and JSON listeners.

 

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.