Docs / Installation

Installation

Add Trackveil to any website in minutes. Choose your platform below.

HTML / JavaScript Sites

For standard HTML websites, add this single line before the closing </head> tag:

<script async src="https://cdn.trackveil.net/tracker.min.js" 
        data-site-id="YOUR_SITE_ID"></script>

Replace YOUR_SITE_ID with your actual site ID from the dashboard.

That's it!

Trackveil is now tracking visitors. Check your dashboard to see real-time data.

Premium CDN Alternative

Paid Plans Only

For faster loading and better ad-blocker bypass, Premium and Peak customers can use our global CDN:

<script async src="https://cdn.assetserve.net/io.js" 
        data-site-id="YOUR_SITE_ID"></script>
10-15% more visitors tracked
Faster global delivery
Better ad-blocker evasion
Same privacy & features

WordPress

Install the official Trackveil plugin from WordPress.org:

  1. Go to Plugins → Add New in WordPress admin
  2. Search for "Trackveil"
  3. Click Install Now then Activate
  4. Go to Settings → Trackveil
  5. Paste your Site ID and save

Read the complete WordPress guide →

React / Single Page Applications

For React apps, add the tracker to your public/index.html:

<!-- In public/index.html -->
<script async src="https://cdn.trackveil.net/tracker.min.js" 
        data-site-id="YOUR_SITE_ID"></script>

Note: The tracker automatically works with client-side routing (React Router, Vue Router, etc.). No additional configuration needed!

Shopify, Webflow, Squarespace

These platforms allow adding custom code. Find the "Custom Code" or "Code Injection" section and paste the tracking snippet.

Shopify: Online Store → Themes → Edit Code → theme.liquid (before </head>)
Webflow: Project Settings → Custom Code → Head Code
Squarespace: Settings → Advanced → Code Injection → Header

Verify Installation

After adding the tracking code:

  1. Visit your website
  2. Open your Trackveil dashboard
  3. You should see "1 visitor online now" (that's you!)
  4. Check the page views - you should see your visit

Troubleshooting

Not seeing data?

Still having issues? Contact support