H
Basics
Plain HTML / static site
Paste one line in <head>, before any analytics tags.
01
Copy snippet from dashboard
After signing up, add your domain and copy the embed snippet from the dashboard.
<script async src="https://consentlane.com/v1/cl.js?s=YOUR_KEY"></script>
02
Paste in <head>
The snippet must load BEFORE GA4 / Meta Pixel / Ads, so Consent Mode v2 sets the default „denied" state before they load.
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Your site</title> <!-- ALWAYS at the top of head, before GA/GTM --> <script async src="https://consentlane.com/v1/cl.js?s=YOUR_KEY"></script> <!-- Analytics tags after --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-XXX"></script> </head>
03
Verify in DevTools
Open Chrome DevTools → Application → Cookies. After clicking „Accept" you should see a cmp_consent cookie with your choice. In the Network tab you should see a POST to /v1/consent returning {ok: true, cid: "..."}.
Ready to try? The Free plan is enough to start.
Sign up