Website Hit Counter

Get a real embeddable hit counter for your site, with a snippet to paste on your page and a count that increases on each visit.

A real, working counter - not a decorative widget

This creates an actual hit counter hosted on this site: click "Create counter," paste the snippet it gives you into your own page's HTML, and from that point every real page load pings this site and the number genuinely goes up. It's the same classic idea from the early web - remember the little "You are visitor #00042" images on old personal sites - just rebuilt as a small modern JavaScript widget instead of a server-generated image.

How the snippet works

The snippet is two parts: a span that displays the current count, and a tiny script that fetches this site's counter endpoint and fills in the number once it responds. Nothing needs to be installed or configured beyond pasting that one snippet wherever on your page you want the number to show.

Why there's no account - and why that matters

Creating a counter doesn't require signing up; it just generates a counter key tied to that specific snippet. That also means there is no account recovery - if you lose the snippet or the key inside it, there is no way to get back to that exact counter's history. Keep a copy of the full snippet somewhere safe once you've created it.

Page loads, not unique visitors

Every time the snippet's script runs - which is every time the page loads - the count goes up by one, regardless of whether it's a brand-new visitor or the same person refreshing the page for the tenth time. If what you actually want is a unique-visitor count, this isn't the right tool; a full analytics platform that tracks visitor sessions is built for that distinction.

Count your visitors

A hit counter adds a small number to your page that goes up with every visit. This tool generates the code to place on your site.

Hits are not visitors

One person can create many hits by reloading pages, so the number is only a rough indicator. For real insight into who visits, from where and what they read, use a proper analytics tool.

Using it well

Place the counter where it does not distract, keep the page fast and remember that a visible counter with a tiny number may not help trust on a new site. Consider hiding the figure and relying on analytics instead.

How it works

A small snippet on your page records each visit and displays the total. Hit counters show a rough number, but they are not a replacement for analytics, which separates unique visitors, sources and behaviour.

Tips

Place it in the footer, keep the snippet light and remember that bots can increase counts. Privacy laws may apply if visitor data is stored.

Tip

Do not trust it as your only analytics. Use a privacy-friendly analytics tool for real data on visits, sources and pages.

Placement

Place the counter in the footer and keep the design simple so it does not distract from your content.

Frequently asked questions

Does this count unique visitors or total page loads?

Total page loads. Every time the embedded snippet runs - including repeat visits or refreshes from the same person - the count goes up by one. For a true unique-visitor count, use a full analytics tool instead.

What happens if I lose the snippet or counter key?

There's no account system to recover it from, so losing the snippet means losing access to that specific counter's count. Save a copy of the full snippet somewhere safe right after creating it.

Will embedding this counter slow down my site?

No - the snippet makes one small request when the page loads, which is negligible for virtually any site's performance.

Can I reset the counter back to zero?

The counter simply tracks pings received since creation; if you need to start fresh, create a new counter and swap the snippet rather than relying on hidden reset controls.

Why does my count go up when I just refresh the page myself?

Because the counter tracks every page load, not unique visitors - your own refreshes and repeat visits count exactly the same as a first-time visitor's.

Is a hit counter the same as analytics?

No. Analytics give far more detail.

Will it slow my site?

A small script has little effect, but test the page speed.

Can I start the counter at a number?

Some counters allow it, but be honest with visitors.

More in Technical SEO & Site Management