Pick your platform — we have step-by-step instructions for the major ones. Most installs take 2-5 minutes.
Official plugin, no code
Edit theme.liquid
Settings → Custom Code
Code Injection → Header
Project Settings → Custom Code
Embed element
App Router, Pages Router, Vite, CRA
Custom HTML tag
The HitCounters tracker is just a single <script> tag — if you can edit your site's HTML, you can install it. Two common ways:
</head> in your theme's main template.The full snippet:
<!-- HitCounters.com --> <script async src="https://hitcounters.com/api/tracker.js?code=YOURCODE"></script>
Replace YOURCODE with the 16-character code from your HitCounters Sites page.