Event Tracker

Setup Instructions

Install Tracking Script

Add this script to all your websites to start tracking button clicks, form submissions, and page views in realtime.

Realtime

See events as they happen with instant updates

Multi-Domain

Track thousands of websites from one dashboard

Easy Setup

Just paste one script tag to get started

Step 1: Configure Endpoint
After deploying this dashboard, enter your dashboard URL below

Leave empty to use current URL: https://your-dashboard.vercel.app/api/track

Step 2: Copy Tracking Script
Add this script to the <head> or before </body> of every page you want to track
<!-- Event Tracker Script -->
<script>
  window.V0_TRACKER_ENDPOINT = 'https://your-dashboard.vercel.app/api/track';
</script>
<script src="https://your-dashboard.vercel.app/tracker.js" defer></script>
Optional: Custom Event Tracking
Add data-track attribute to any element for custom tracking
<!-- Track with custom action name -->
<button data-track="signup_click">Sign Up</button>
<a href="/pricing" data-track="pricing_view">View Pricing</a>
<form data-track="contact_form">...</form>
What Gets Tracked Automatically
  • Button Clicks

    All buttons, links, and elements with role="button"

  • Form Submissions

    All form submit events

  • Page Views

    Initial page load and focus events

  • Metadata

    Domain, IP address, user agent, page URL, element details