Installation

Get started with Glyphex in under 2 minutes.

Step 1: Create a site

After signing up, click "Add site" from your dashboard. Enter your website's domain (e.g., example.com) and a friendly name.

Step 2: Add the tracking script

Copy the tracking script from your site settings and add it to your website. Place it in the <head> section of your HTML:

<script
  defer
  data-site-id="YOUR_SITE_ID"
  src="https://glyphex.io/tracker.js"
></script>

Replace YOUR_SITE_ID with the ID shown in your site settings.

Step 3: Verify installation

Visit your website, then check your Glyphex dashboard. You should see your visit appear within a few seconds. If live mode is enabled, you'll see it in real-time.

That's it. You're now tracking visitors without cookies or consent banners.

Framework guides

Next.js

Add the script to your root layout:

// app/layout.tsx
import Script from 'next/script'

export default function RootLayout({ children }) {
  return (
    <html>
      <head>
        <Script
          defer
          data-site-id="YOUR_SITE_ID"
          src="https://glyphex.io/tracker.js"
        />
      </head>
      <body>{children}</body>
    </html>
  )
}

React / Vite

Add the script to your index.html:

<!-- index.html -->
<!DOCTYPE html>
<html>
  <head>
    <script
      defer
      data-site-id="YOUR_SITE_ID"
      src="https://glyphex.io/tracker.js"
    ></script>
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>

WordPress

Add to your theme's header.php or use a plugin like "Insert Headers and Footers":

<script
  defer
  data-site-id="YOUR_SITE_ID"
  src="https://glyphex.io/tracker.js"
></script>

Shopify

Go to Online Store → Themes → Edit code → theme.liquid, and add before the closing </head> tag.

Troubleshooting

Data not appearing?

  • Check that the site ID matches exactly
  • Ensure the script is loading (check browser DevTools → Network)
  • Disable ad blockers temporarily to test
  • Wait a few seconds and refresh the dashboard

Testing locally?

The tracker works on localhost. Make sure your site domain in Glyphex matches your local domain or use the same site ID.

Next steps