Test script on the Script page only checks your home page. To check any page yourself, or to find out why the check fails, you can look at the page in your browser. This article walks through what to look for.
Do these checks on a page at https://<your domain> or https://www.<your domain>. Pages on other subdomains, or served over plain http://, don't report visitors for this domain.
Step 1: Find your snippet and key
- On the Script page, select Install next to your domain, then Add it to your site's HTML.
- Look at the snippet under Copy the script. It's one
<script>tag, and it ends with your domain's key in quotes, a code of 12 letters and digits.
Keep this page open: you'll compare what your website serves with it.
Step 2: Open your browser's developer tools
- Open the page you want to check in a private or incognito window, so your browser doesn't show a cached copy.
- Open the developer tools. In most browsers, right-click the page and choose Inspect, or press
F12.
The panel names below are the common ones. Your browser may name them slightly differently.
Step 3: Check that the snippet is on the page
- If you pasted the snippet into your site's code, view the page source and search for
bluetracely. You should find the snippet, starting with<script>!function(key){if(window.bluetracely)return;and ending with your key. - If you added it with Google Tag Manager or a plugin, it may not be in the page source. Search for
bluetracelyin the Elements panel instead, which shows the page as it runs.
Check that the key matches the one on your Install page, that the snippet appears in the <head>, and that it isn't inside another <script> or <style> tag. If it looks altered, see Troubleshooting: Malformed Tracking Snippets.
Step 4: Check that the script file loads
- Open the Network panel and reload the page.
- Filter the list by your key or by
js.gz. - Look for a request whose address ends in
/b/<your key>/<your key>.js.gz.
A successful response means the script file loaded. If the request is missing, failed or was blocked:
- A blocked request with a Content Security Policy message in the Console means your site's policy stops the script. See Troubleshooting: Check for Content Security Policies (CSP) Issues.
- A "not found" response can mean the domain is inactive or its script couldn't be published. Check the domain on the Script page.
- Browser extensions that block trackers can stop the request too. Try again with extensions turned off.
Step 5: Check that the script started
- Wait a few seconds after the page finishes loading.
- Open the Console panel, type
bluetracelyand press Enter.
| What you see | What it means |
|---|---|
An object listing loaded, assignIdentity and collect | The script loaded and started. |
An object with only loaded: true | The snippet ran, but the script hasn't started. Wait a few more seconds and try again. If it stays this way, the script file didn't load: go back to Step 4. |
An error saying bluetracely is not defined | The snippet isn't on this page, or it's broken and didn't run. Go back to Step 3. |
The script starts about 3 seconds after the page has loaded. If it runs into a problem, it writes a message beginning with [bluetracely] in the Console.
Step 6: Check the cookies the script sets
- Open the panel that lists your site's storage, often Application or Storage, then Cookies, and select your site.
- Look for
_vsehemuid(a random visitor ID) and_vsehemsessionID(the current visit).
They appear a few seconds after the page loads, before any cookie banner choice. Other _vsehem cookies, such as the visitor's approximate location, appear only after the consent check passes. See Blue Tracely Cookie Information for the full list.
If the script started but these cookies are missing:
- Your browser sends Global Privacy Control. The script then sets no cookies and sends nothing. Test in a browser without it.
- Cookies are turned off in your browser. The script doesn't run without them.
- The page is inside a frame. The script only runs in the top page, not in a frame embedded in another page.
- The domain is inactive on the Script page.
Confirm in the dashboard
The last check is the dashboard itself. On the Script page, your domain shows Installed · last signal once a visit has been reported. Visitors appear under Person-level visitors or Company-level visitors as they're identified. Not every visit can be identified, so allow time and traffic before drawing conclusions. See What factors can affect the performance of Blue Tracely's tracking script?
Visits made while the script wasn't working aren't reported later. Fix any problem you find as soon as you can.