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.com/tag.js"
data-site="YOUR_SITE_ID">
</script>
- data-site → your Publisher Site ID (from the AdPriva Dashboard)
The Tag loads asynchronously, under 5KB and won’t block page performance.
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.
{% @mermaid/diagram content="sequenceDiagram
participant U as User
participant P as Publisher Page
participant T as AdPriva Tag
participant E as Proof Engine
participant X as AdPriva Explorer
U->>P: Visits site / app
P->>T: Loads AdPriva Tag (async <5KB)
T->>E: Generate proof (page view / click)
E-->>T: Returns Proof ID
E->>X: Logs cryptographic proof (ViewProof/ClickProof)
X-->>All: Public verification available" %}