PrivateAnalytix Help
  • Get Started
    • Welcome
    • Register an account
    • Add your web site
    • Add the script to your website
  • Website Settings
    • Opt out and exclude yourself from the analytics
    • Set reports to be sent via email
  • Goal Conversions
    • Custom event tracking
    • 404 error page tracking
  • API for Developers
    • Statistics API
    • Websites API
    • Account API
Powered by GitBook
On this page
  1. Get Started

Add the script to your website

PreviousAdd your web siteNextOpt out and exclude yourself from the analytics

Last updated 3 years ago

In order to track your web site's analytics, you must add the PrivateAnalytix tracking pixel to your web site's HTML code (between the <head>...</head> tags).

Your PrivateAnalytix tracking code will look very similar to this, but your exact code will vary very slightly.

<script data-host="https://privateanalytix.com" data-dnt="false" src="https://privateanalytix.com/js/script.js" id="YOUR_PA_ID" async defer></script>

How to verify if your tracking pixel was installed correctly

Upon installing the tracking pixel on your website, you could return to your PrivateAnalytix dashboard and you will see a blinking green dot next to your Realtime tab. If it's blinking, that means your data is passed to PrivateAnalytics properly.

PrivateAnalytix tracking pixel
Realtime analytics data | PrivateAnalytix