Install Guides

Install HitCounters on any platform

Pick your platform — we have step-by-step instructions for the major ones. Most installs take 2-5 minutes.

WordPress

Official plugin, no code

Shopify

Edit theme.liquid

Wix

Settings → Custom Code

Squarespace

Code Injection → Header

Webflow

Project Settings → Custom Code

Carrd

Embed element

React / Next.js

App Router, Pages Router, Vite, CRA

Google Tag Manager

Custom HTML tag

Don't see your platform?

The HitCounters tracker is just a single <script> tag — if you can edit your site's HTML, you can install it. Two common ways:

  • Theme/template head: paste the snippet just before </head> in your theme's main template.
  • Code-injection plugin/feature: most CMS platforms have a "header code" or "head injection" feature in settings.

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.