Skip to content

Add a website

Every site you measure lives as a website in Madinco Hub. Each one has its own dashboard, its own settings, and its own tracking ID.

  1. Open Sites → Add website.
  2. Fill in the fields:
    • Name — how the site appears in your dashboard (e.g. Radio Sud Est).
    • Domain — the primary domain you’re measuring (e.g. radiosudest.com).
  3. Save. Madinco Hub generates a website ID and a tracking snippet.

Add the snippet to the <head> of every page you want to measure:

<script
defer
src="https://hub.madinco.com/script.js"
data-website-id="YOUR_WEBSITE_ID"
></script>

The script is a few kilobytes, loads asynchronously, and never blocks rendering. Once it’s live, the first visit shows up in Overview within a minute.

Stack Where
Plain HTML In <head>, on every page (or a shared layout/partial).
Astro In your base layout’s <head>.
Next.js In the root layout, or use the <Script> component with strategy="afterInteractive".
WordPress A header snippet plugin, or your theme’s header.php.

Open your site, then check Real-time in Madinco Hub — you should see yourself as a current visitor. If nothing appears:

  • Confirm the data-website-id matches the site.
  • Make sure the script isn’t blocked by a content-blocker during testing.
  • Check that the snippet is in the served HTML (view source).

Next: track custom events.