Developer docs
Install in minutes, expand when ready
Start with one script tag, then connect project settings, event batching, and backend verification for protected access.
Install snippet
<script
async
src="https://cdn.adproof.example/gate.js"
data-project-key="adp_pub_demo123">
</script>Event payload
Every event should carry enough context to build project-level analytics.
{
"eventType": "overlay",
"projectId": "prj_123",
"publicKey": "adp_pub_demo123",
"domain": "client.com",
"path": "/premium/article",
"pageUrl": "https://client.com/premium/article",
"sessionId": "sess_456",
"visitorId": "anon_789",
"reason": "ad_container_hidden"
}Server verify
Use this only from the customer backend. Never expose the secret key in browser code.
POST https://api.adproof.example/v1/verify
Authorization: Bearer adp_sk_live_xxxLaunch checklist
- Create customer and project.
- Add allowed domains.
- Configure the strict protected-access flow.
- Install the snippet on a test page.
- Check events, overlay rate, and integration health.
- Enable alerts before production rollout.