Count pageviews, not people. Privacy-first web analytics, securely stored in the EU.
OPEN BETA
Count pageviews, not people. Privacy-first web analytics, securely stored in the EU.

Script Installation

Documentation on how to install the PageviewsOnline analytics script onto your website.
Home › Documentation › Script Installation

The PageviewsOnline analytics script can be installed in a few simple ways. Choose the method that best fits your website or application setup.

HTML

Simply add this script tag at the end of your </body> (or anywhere else on the page).

<script async src="https://scripts.pageviews.online/latest.min.js"></script>

JavaScript

You can also install the script programmatically using JavaScript with this code:

const script = document.createElement("script"); script.src = "https://scripts.pageviews.online/latest.min.js"; script.async = true; document.head.appendChild(script);