Installation guide
The Glinto pixel is a single <script> tag. It’s ~1.2 KB, loads asynchronously, sets no cookies, and will not block rendering or hurt your Core Web Vitals score.
The snippet
Every site you add in the dashboard gets a unique data-site ID. Copy the snippet from Dashboard → Sites → [your site] → Setup, or use this template:
<script defer
src="https://in.glinto.eu/p.js"
data-site="YOUR_SITE_ID"></script>Paste it before the closing </head> tag on every page you want to track.
WordPress
You have three options, from easiest to most flexible:
- Theme header (no plugin needed). Go to
Appearance → Theme File Editor → header.php. Paste the snippet just before</head>. Works with any theme. - Insert Headers and Footers plugin. Install the free WPCode plugin, go to
Code Snippets → Header & Footer, and paste the snippet in the “Header” box. - functions.php hook. Add the following to your theme’s
functions.php:
add_action('wp_head', function () {
echo '<script defer src="https://in.glinto.eu/p.js" data-site="YOUR_SITE_ID"></script>';
});Webflow
- Open your project in the Webflow Designer.
- Go to
Project Settings → Custom Code → Head Code. - Paste the snippet.
- Publish.
Squarespace
- Go to
Settings → Advanced → Code Injection. - Paste the snippet in the Header box.
- Save.
Wix
- Go to
Settings → Custom Code(requires a Premium plan on Wix). - Click Add Code to Head.
- Paste the snippet, choose “All pages” and “Head”.
- Save.
Next.js / React
Add the script to your root layout. Use the Next.js Script component or plain JSX:
// app/layout.tsx
import Script from 'next/script';
export default function RootLayout({ children }) {
return (
<html>
<head>
<Script
src="https://in.glinto.eu/p.js"
data-site="YOUR_SITE_ID"
strategy="afterInteractive"
/>
</head>
<body>{children}</body>
</html>
);
}Glinto detects SPA navigation automatically (it listens for pushState and popstate), so you don’t need to fire events manually on route changes.
Gatsby / Remix / Astro / any SSR framework
Same principle: add the <script> tag to your HTML <head>. The pixel is framework-agnostic — it runs in the browser after the page loads.
Google Tag Manager
- Create a new Custom HTML tag.
- Paste the snippet.
- Set the trigger to All Pages.
- Publish the container.
Verify it works
- Open your website in a browser.
- Go to Dashboard → Sites → [your site] → Realtime.
- You should see your pageview appear within seconds.
Not seeing data? Check the troubleshooting guide.
Cookie banner removal (optional)
If Glinto is the only analytics or tracking tool on your site, you don’t need a cookie consent banner. Add data-cookie-banner="remove" to the script tag and Glinto will automatically detect and remove common consent banners:
<script defer
src="https://in.glinto.eu/p.js"
data-site="YOUR_SITE_ID"
data-cookie-banner="remove"></script>This works with CookieBot, OneTrust, CookieYes, Complianz, Iubenda, Quantcast, and most generic cookie banners. The pixel watches for banners injected asynchronously and removes them within 10 seconds of page load.
Important: only use this if you have verified that no other scripts on your page require cookie consent (e.g. Google Ads, Facebook Pixel, etc.). Glinto uses no cookies, but other tools might.
Domain verification (optional)
For extra security, you can verify domain ownership by adding a DNS TXT record. Go to Dashboard → Sites → [your site] → Setup and follow the instructions under “Domain Verification”.