"}]},{"@type":"HowToStep","position":3,"name":"Or use the Replit AI Agent","text":"Ask the agent: \"Add the Admaxxer analytics pixel <script> tag to the <head> of index.html\", then provide your website ID."},{"@type":"HowToStep","position":4,"name":"Verify the install","text":"Load any public page on your site in a fresh browser tab. Within a few seconds, the Admaxxer dashboard realtime view should show the event. If nothing lands after 2 minutes, re-check the snippet is actually in the rendered HTML <head> (View Source, not just DevTools)."}]}
Install guide · no-code · ~2 min
Paste into index.html or ask the AI Agent.
Replit hosts both plain HTML sites and full-stack apps. For a static-HTML Repl, paste directly into index.html. For Next/Vite/Astro Repls, use the framework-specific guide instead.
In the Replit editor, open the entry HTML file (usually index.html at the project root).
In Replit, navigate to the <head> of index.html. Paste the snippet below and save. It must be in the site-wide <head> so it fires on every page.
<script defer
data-website-id="YOUR_WEBSITE_ID"
data-domain="yourdomain.com"
src="https://cdn.admaxxer.com/js/script.js"></script>
Ask the agent: "Add the Admaxxer analytics pixel <script> tag to the <head> of index.html", then provide your website ID.
Load any public page on your site in a fresh browser tab. Within a few seconds, the Admaxxer dashboard realtime view should show the event. If nothing lands after 2 minutes, re-check the snippet is actually in the rendered HTML <head> (View Source, not just DevTools).