Verification

Verify your installation is working

After installing the tracking code, it's important to verify that PureStats is working correctly on your website.

Verify Installation

To verify that PureStats is working correctly:

  1. Visit your website in a new browser tab (or incognito window)
  2. Open your PureStats dashboard
  3. Check the "Current Visitors" counter - it should show at least 1 visitor
  4. Look at the "Recent Pageviews" or live view - your visit should appear there

Note: Data usually appears within 30 seconds of your visit. If you're using an ad blocker, you may need to disable it for testing.

Using Browser Developer Tools

You can also verify the installation using your browser's developer tools:

  1. Right-click on your page and select "Inspect" or press F12
  2. Go to the "Network" tab
  3. Refresh your page
  4. Look for a request to pf.min.js - it should show status 200
  5. Look for a request to /api/event - this is the pageview being recorded

Common Issues

No data appearing

  • Check the data-domain attribute - Make sure it matches exactly what you registered
  • Check for typos - Ensure the script URL is correct
  • Wait a moment - Sometimes it takes up to a minute for data to appear
  • Disable ad blockers - Some ad blockers may block analytics scripts

Script not loading

  • Check the console - Look for any JavaScript errors in the browser console
  • Verify placement - Make sure the script is in the <head> section
  • Check for conflicts - Other scripts might be interfering

Only some pages are tracked

  • Template issue - Ensure the tracking code is in a global template/header file that's included on all pages
  • Single Page Apps - See our React/Vue/Next.js guides for SPA-specific setup

Need Help?

If you're still having issues after checking the above, please contact our support team. We're happy to help you get set up.