Getting Started with Analytics
1. Connecting your webiste
Click on the connect button on the Analytics page. Add your website and click connect
2. Adding the script
The analytics script we provided should be added to your website. If you need help adding it please contact our chat support or shoot an email at hello@zapdigits.com
Make sure the domain name you entered is exactly where you hosted your website. Keep in mind if you added www to your domain in ZapDigits Analytics tab then you have to embed in www in your website too.
3. Custom events 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' });