Getting Started
Smallytics is a simple, privacy-friendly web analytics service. No cookies, no personal data collection, and no consent banners required. Just add a single line of HTML to your site to start receiving periodic email reports.
If you havenât subscribed to a plan yet, please do so first. Once complete, integrate the Smallytics script on your website (instructions below). Youâll then start receiving periodic reports based on the preferences you set, which you can update anytime in your account.
Conventional Websites
If your site consists of static HTML pages with little or no JavaScript, follow the Basic Autosetup guide to automatically track page views (with referrals), link clicks, and form submissions. For tracking visibility or interactions of specific elements, use the Advanced Autosetup guide instead.
Single-Page Apps
If your site is a single-page application with dynamically rendered content, integrate the Smallytics client directly as described in the Custom Setup guide. Some JavaScript development experience is recommended.
Need Help?
Reach out anytime at support@smallytics.com.
Basic Autosetup
Our autosetup script automatically tracks page views (including referrals), link clicks, and form submissions on conventional websites. It works out of the box in most cases.
Simply add the following script tag at the bottom of the
<head>
section of every page you want to track:
Thatâs it!
Advanced Autosetup
The autosetup script also works as a standard JavaScript module. It exports two
helpful functionsâobserveElementVisibility
and observeElementInteractionâso you can track how long specific
elements remain visible and when visitors interact with them.
Import and use them in your own JavaScript file alongside the autosetup script. Example:
Done! You now have full standard tracking plus visibility and interaction events for
my-important-element.
Custom Setup
The autosetup script works perfectly for static content. For elements that are dynamically added or removed during a session, integrate the Smallytics client directly in your application code.
Example â tracking clicks on a dynamically rendered link:
In your application code:
autosetup.js
client.js