Theme

Start for free
DocsTesting on localhost

06 · Troubleshooting

Try the snippet on your own machine

Your own machine and your test robots are left out on purpose. Here's how to let them in, without mixing them into your live numbers.

01Why local visits don't count

The script sends nothing from localhost, 127.0.0.1, *.localhost, *.local or a file:// page, so your development doesn't fill the dashboard. And each site takes events only from pages on its own domain, so a local page sending to your live site would be refused anyway.

02Try it locally

  1. Add a second site whose domain is localhost (subdomains such as app.localhost count too). Keep your live site's numbers clean.

  2. Use that site's tag on your local pages, with data-allow-localhost:

    HTML
    <script defer data-site="k3xq2mfa7twp" data-allow-localhost src="https://t.tallybyoutpost.com/script.js"></script>
  3. Open your local page: the second site's live check turns green.

03Automated tests

A browser driven by WebDriver, Playwright or Puppeteer sends nothing unless the tag also has data-allow-automation, and headless Chrome is filtered out as a bot on arrival. Keep both out of your live site's tag, so test runs never count as visitors.

04Staging and previews

A staging site on a subdomain of your live domain (staging.yoursite.com) counts as the live site. To keep it apart, add it as its own site with its own domain, or leave the tag off it.

Something missing, or not what you see? Write to support@tallybyoutpost.com and say which page.