Tag installation
The AdPriva Tag is the fastest way to integrate AdPriva.
It’s a lightweight, headless JavaScript snippet (<5KB) that renders nothing and generates cryptographic proofs for page views and clicks with no cookies, no trackers, no hidden identifiers.
Quickstart
Place this snippet in <head> or just before </body>:
<script async src="https://cdn.adpriva-ads.com/tag.js"></script>
That is the complete snippet — there is no site key and no attribute to configure. Your site is identified by its hostname, which AdPriva provisions for you before your first proof.
The Tag loads asynchronously, under 5KB and won’t block page performance.
Collecting consent certificates from your web forms? Start with the Consent Certificates — Quickstart — same snippet, plus one attribute on the form you want witnessed.
Proof Integration
- ViewProofs → generated when content enters the viewport (page view)
- ClickProofs → generated when a user clicks
- Explorer Sync → proofs published to the AdPriva Explorer (publicly verifiable)
- Dashboard Tracking → monitor proofs in real time
Advanced Options
- Self-hosted Mode → run the Tag from your own infrastructure
- Custom Events (beta) → trigger proofs for scrolls, form submits or in-app events
Testing Your Installation
Install the Tag on a test page.
Load the page and trigger a page view or click.
Confirm in your Publisher Dashboard:
→ ViewProofs / ClickProofs logged in real time
(Optional) Search the proof ID in the AdPriva Explorer for public verification.
With just one script, your site’s traffic becomes verifiable and privacy-first, backed by publicly auditable cryptographic proofs.
How a proof flows
- A user visits your site or app.
- The page loads the AdPriva Tag asynchronously (under 5KB).
- The Tag generates a proof for the qualifying event — a page view or a click.
- The Proof Engine seals the event and returns a Proof ID.
- The sealed proof is logged as a ViewProof or ClickProof.
- Anyone can then verify that proof publicly in the AdPriva Explorer.