Custom event tracking
You can send custom events to track via your app. Once you loaded ZapDigits script you can send the events like this from anywhere on your app. And this will be visible on your analytics page recent event section
// Track a button click
analytics.track('signup_button_click', {
button_location: 'header',
page: 'homepage'
});
// Track a purchase
analytics.track('purchase_completed', {
product_id: '123',
price: 29.99,
currency: 'USD'
});
// Track form submissions
analytics.track('form_submitted', {
form_id: 'contact',
form_type: 'contact'
});