Cookie-Free Analytics for Any HTML Site
GhostlyX works on any website that can load a JavaScript file. If your site is plain HTML, a static site generator, or any other setup, the integration is a single script tag.
Installation guide
Copy your Site ID from the GhostlyX dashboard
Log in to GhostlyX, add your site, and copy the Site ID shown on the installation screen.
Add the script to your HTML
Paste the script tag into the <head> section of your HTML file. For multi-page sites, add it to every page that shares a common template or include file.
<script defer src="https://cdn.ghostlyx.com/gx.js" data-site-id="YOUR_SITE_ID"></script>
Open your site and verify
Visit your site in a browser and check the GhostlyX real-time dashboard. Your visit should appear within a few seconds.
Why HTML / Static Sites users choose GhostlyX
The GhostlyX script is under 1.5 kB gzipped and loads asynchronously so it never blocks page rendering. It works on any web server, CDN, or hosting provider that can serve static files. There are no build tools, packages, or server-side dependencies to install.
Cookie-free tracking
No consent banner required under GDPR or PECR
Under 1.5 kB script
Negligible impact on page speed and Core Web Vitals
Real-time dashboard
See visitors as they arrive, updated every few seconds
Free plan available
Start tracking without a credit card
Replacing Google Analytics on HTML / Static Sites?
See how GhostlyX compares feature by feature, including script size, GDPR compliance, and pricing.
Related integrations
Ready to add GhostlyX to HTML / Static Sites?
Free plan available. Setup takes 1 minute. No cookie consent banner required.
Get started free