Install TraffNext
Add your site in the dashboard, copy its tracking key and embed the script. Pageviews appear within seconds.
Quick start
- 1Create a free account
- 2Add your domain to get a tracking key
- 3Paste the script into your site
Choose your platform
Paste the snippet inside <head> on every page you want to track.
<script defer data-site="YOUR_TRACKING_KEY" src="//traffnext.sysfolabs.com/api/tracker.js"></script>Replace YOUR_TRACKING_KEY with the key shown next to your site in the dashboard.
Events and sections
Clicks on phone, email and WhatsApp links, downloads, outbound links and form submits are recorded automatically. The tracker also notices which section of a page (for example #pricing) each visitor is reading and for how long.
<section id="pricing" data-tn-section="Pricing">...</section>
<button data-tn-event="quote_click">Get a quote</button>
<script>traffnext('signup', 'footer form')</script>
<button data-tn-locate>Use my location</button>
<script>traffnext.identify({ name: 'Asha', phone: '+919999999999' })</script>Visitors are anonymous and appear as Visitor #id. To see real names and phone numbers, switch on Capture name, phone and email from forms for the site: details typed into a form you already have are saved when it is submitted (password and hidden fields are never read). Mention this in your privacy policy.
Location normally comes from the visitor's IP address, which is only approximate (it can point to the internet provider's hub city, not the visitor's own city). For an exact city, add data-tn-locate to a button, or switch on Ask visitors for precise location for the site in the dashboard. The browser then shows its own permission popup and only the nearest city name is stored.
What is collected
- Page path and referrer host
- Scroll depth, active time and page sections
- Device, browser, OS, screen size, language and city/country
- No cookies, no IP addresses stored
Visitors who send Do Not Track are ignored completely.

