Help / Add the script to your site
Add the script to your site
One line on your pages starts the counting.
- Open Settings. Under your site, copy the script line. It includes your site's key.
- Paste it into the head of every page you want counted.
- Visit your site. The first numbers appear on the Dashboard.
The script is under 2 KB, sets no cookie and writes nothing to storage. It sends the page path (never the rest of the address, apart from the three utm_ values), the referrer and, if you ask, a custom event.
Custom events
To count something that is not a page view, call statliftr('event name') from your page, then make a goal for that event.
Privacy notice and opt-out
Settings has a short privacy notice to copy into your site's privacy page, and visitors can opt out at the opt-out page on your site.