1 minute

Install Web-Tracking.eu on Plain HTML

The universal install. Works on any platform that lets you edit raw HTML — static sites, custom apps, prototypes, anywhere.

1

Find your HTML file

Open the file that contains the <head> section of your site. For a single-page site this is usually index.html. For a templated site it's typically a layout or master template.

2

Paste before </head>

Add this line just before the closing </head> tag:

<script src="https://web-tracking.eu/t.js?site=YOUR_SITE_ID" defer></script>

Replace YOUR_SITE_ID with the ID from your Web-Tracking.eu dashboard. Save the file and upload it.

3

That's it

The script is small (under 2 KB), loads asynchronously with defer, and never blocks rendering. It works without cookies, localStorage, or any client-side identifiers — fully GDPR-compliant out of the box.

If you have a custom domain set up, replace the script URL with your CNAME, e.g.:

<script src="https://track.yoursite.com/t.js" defer></script>

Verify it's working

  1. Open your site in a private/incognito window.
  2. Visit any page on the site.
  3. Open the Web-Tracking.eu dashboard for this site.
  4. The Realtime view should show your visit within 5–10 seconds.

Having trouble?

  • No data showing: Confirm the script is in the page source (View Source > search web-tracking.eu/t.js).
  • Wrong site ID: Double-check the ID matches the one in your dashboard. IDs are case-sensitive.
  • Ad blocker: Web-Tracking.eu is privacy-friendly, but some aggressive blockers still hide it. Test in a fresh browser.
  • Caching: Many platforms cache the page HTML. Purge your cache after install.
  • Still stuck? Email hello@web-tracking.eu with your site URL.
← Back to install hub