NoScript
What is a NoScript Tracker?
A noscript tracker allows you to collect analytics data from users who have JavaScript disabled in their browser. Normally, PriviMetrics uses a JavaScript snippet to track visits. However, some users block JavaScript or use very strict browsers. In those cases, the noscript tag sends a request via an invisible 1×1 pixel image to your analytics server.
Here’s the standard tag for PriviMetrics:
<noscript><img src="https://yourdomain.com/privimetrics.php?t=YOUR_TRACKER_IP&p=YOUR_WEBSITE_PATH&title=YOUR_TITLE&js=0" width="1" height="1" style="display:none" alt=""/></noscript>
Parameters:
| Parameter | Description |
|---|---|
t |
Your tracker code (unique for your site). Replace YOUR_TRACKER_IP with the value from your PriviMetrics dashboard. |
p |
Your domain (the website being tracked). Replace YOUR_DOMAIN with your actual domain. |
title |
Page title (optional, useful for analytics reporting). Replace YOUR_TITLE with the page name or title. |
js |
Must be 0 to indicate this request comes from non-JavaScript users. |
Example
<noscript>
<img src="https://example.com/privimetrics.php?t=b9888b7f56d8cdb13f6e8ac8d4e6f41c&p=https://example.com/index.html&title=Your+Awesome+Website&js=0"
width="1" height="1"
style="display:none"
alt=""/></noscript>