Website Analytics for Developers – ViziAPI
ViziAPI is lightweight website analytics built for developers. Add one script tag
to your site and start understanding your website traffic – anonymous visitors,
sessions, page views, custom events, and historical trends – without any invasive
tracking or cookie banners.
Website analytics that stays out of your way
Most website analytics tools are built for marketers. ViziAPI is built for
developers who want clean data, a straightforward REST API, and a lightweight
integration that won't slow down their pages. The tracker is asynchronous, uses
fetch with keepalive, and adds no runtime dependencies
to your site.
What ViziAPI tracks
Anonymous visitor tracking – first-time and returning visitors identified by a privacy-safe anonymous key, with no invasive fingerprinting.
Sessions – a session groups page activity until two hours of inactivity have passed. One visitor can have multiple sessions across a day.
Page views – every route change on your site is tracked automatically, including client-side navigation in Next.js, React Router, Vue, SvelteKit, and Astro.
Custom events – fire named events from your own code to track signups, button clicks, form submissions, or any interaction that matters to you.
Historical analytics – query your data over any time range and inspect trends directly in the ViziAPI dashboard or via the REST API.
Public visitor-count API – a lightweight public endpoint lets you display your total visitor count directly on your own website without exposing private data.
Developer-first website analytics API
ViziAPI exposes a simple REST API so you can query your website analytics
programmatically. Retrieve visitor counts, session data, page-view breakdowns,
and event logs using authenticated HTTP requests. The public
GET /api/v1/public/sites/:siteKey/visitor-count endpoint requires no
authentication and is safe to call directly from your frontend.
Privacy-conscious by design
Website visitor analytics should respect user privacy. ViziAPI uses anonymous
cryptographic identifiers, hashed IP addresses, and hashed visitor keys. No
cookies, no cross-site tracking, no invasive fingerprinting. There is no need to
display a cookie consent banner for the ViziAPI tracker alone.
Get started in minutes
Create a site in the ViziAPI dashboard, copy your public site key, and add one
script tag. Your website analytics will start appearing immediately after the
first page view.
<script
src="https://viziapi.onrender.com/script.js"
data-site="YOUR_SITE_KEY"
defer>
</script>
ViziAPI uses Google Sign-In only to authenticate users and create or access their ViziAPI account. The current flow requests openid, email, and profile scopes; it does not request Gmail, Drive, Calendar, Photos, or YouTube access.
Please enable JavaScript to use the full ViziAPI web application.
Privacy Policy
Terms of Service