Visitor Counter Setup Guide

Launch your website visitor counter in a few quick steps.

  1. Create your account
    Register, confirm your email, and open your dashboard.
  2. Add your website
    Set your domain and choose visibility (public or private).
  3. Install tracking script
    Copy your tracking code and place it inside your website head or body section.
    <script data-host="https://www.byoviral.com" src="https://www.byoviral.com/js/script.js" id="ZwSg9rf6GA" async defer></script>
  4. Verify data
    Open your site, refresh a few pages, then check realtime stats in BYOViral.

Where to paste the code on your platform

The tracking code is the same everywhere; only the place you paste it changes. Each website you add gets its own code, so copy it from that website's settings in your dashboard rather than from this page. Step-by-step guides:

  • WordPress: add the code with a header and footer code plugin such as WPCode, so it survives theme updates.
  • Shopify: add it to theme.liquid just before the closing head tag.
  • Wix: add it under Settings, Custom Code, set to all pages and the head. Needs a premium plan with a connected domain.
  • Squarespace: paste it into Code Injection, Header. Not available on the Personal or Basic plans.
  • Webflow: paste it into Site settings, Custom code, Head code, then publish.
  • Blogger: add it in an HTML/JavaScript gadget; works on free blogspot.com blogs.
  • Google Sites: scripts cannot see the page there, so use an image counter instead; the guide explains why.
  • Carrd: add an Embed element set to Hidden and Head. Needs Pro Standard or higher.
  • GitHub README: use the free image hit counter, since READMEs never run scripts.
  • Any other site or plain HTML: paste the code once into the shared header template, before the closing head tag, so it loads on every page.

If no visits show up

  • Open your page, view its source and search for script.js. If the tag is missing, the code was not saved or the page is served from an old cache.
  • Clear the cache of your caching plugin, CDN or site builder, then reload the page.
  • Test in a private window with extensions turned off. Ad blockers and privacy extensions in your own browser can block analytics scripts.
  • Check that the code came from the right website in your dashboard; each website has its own id.
  • Visit from a normal browser. Known bots and crawlers are filtered out, so automated test tools do not count as visitors.

Public or private stats

A private website's stats are visible only to you. A public website also gets a public stats page you can share as proof of traffic, and sites that display the BYOViral badge can appear in the Top Sites rankings. You can switch between the two at any time in the website settings.