AssertionHub
Consent tracking
with attribution.
Most consent tools give you one number: your accept rate. AH Analytics Cookie Banner gives you full visibility into your consent data, with numbers split by channel, campaign, ad platform, and visitor type.
The problem
You're making decisions
on incomplete consent data.
Your banner fires thousands of times a day. You see one aggregate accept rate. You don't know if paid campaigns bring visitors who all click "deny." You don't know how much of your rate is inflated by bot traffic.
You don't know if AI referrals from ChatGPT or Perplexity behave differently from organic search. You don't know how many visitors just closed the tab without touching the banner at all. One percentage hides all of that. AH Analytics Cookie Banner surfaces it.
Tracking Capabilities
When a visitor sees your banner, we record:
Capabilities
Features
Attribution & Traffic
Understand where consenting visitors come from, and which channels drive refusals.
Traffic source breakdown
Consent rates split by channel. Organic search, paid campaigns, social, direct, and AI referrals each tracked separately. See which sources drive your highest accept rates and which ones hurt them.
AI referral tracking
ChatGPT, Perplexity, Claude, Gemini, and a growing list of AI tools are identified automatically. A fast-growing referral channel most analytics tools still miss entirely.
Ad attribution
gclid, fbclid, ttclid, msclkid - all captured and tied to consent outcomes. See how many ad-attributed sessions ended in an accept, deny, or no interaction at all.
Bot and crawler filtering
Every event is classified at ingestion. Bots, headless browsers, and AI training crawlers are tagged and included, so you can analyze all traffic. Filter them in or out at any time using inline or global filtering.
Funnel & Trends
Track how consent decisions unfold over time and see exactly where visitors drop off.
Consent funnel
Build a step-by-step funnel: session start, page load, banner shown, then accept, deny, options opened, or preferences saved. Apply any filter first - UTM campaign, Google Ads only, a specific country - and see exactly where drop-off happens inside that segment.
Event trend
Two chart modes: Event view shows raw event counts over time (banner shown, accepted, denied, options). Session view shows session outcomes - total sessions, saw banner, accepted, denied, ignored. Granularity adjusts automatically between hourly and daily.
Device & Location
See consent rates broken down by country, OS, browser, and device type. Spot whether mobile visitors accept at a lower rate than desktop, or whether a specific country is dragging your aggregate down. Every dimension is filterable and cross-referenceable with all your other segments.
SQL Workbench
Query your consent data directly with SQL. Filter, group, aggregate, and export results as CSV. Results return instantly without a separate BI tool. Write ad-hoc queries against your raw event table and get back exactly what you need in one step.
Dashboard & Filtering
Inline and global filtering
Click any OS, browser, country, traffic source, or campaign to scope every chart and table to that segment. Stack filters, exclude values, or clear all with no page reloads.
Multi-domain support
You can use the same script and accountID across different domains. Data is partitioned by hostname. View a single property or roll everything up across your portfolio.
Breakdown by page
Every dashboard widget shows consent data broken down by the page where the banner appeared. See which URLs drive the highest accept rates and which ones drag the average down. Combine with any other filter - country, traffic source, UTM - to get a precise picture of consent performance across your whole site.
Setup
One script. All banner interactions tracked.
Want us to handle it for you?
Book a free call and we will walk through the integration with you, configure everything together, and make sure your dashboard is ready to go.
Drop the script
Load AH Analytics Cookie Banner with the script below and start tracking consent interactions from your cookie consent banner.
Point it at your buttons
Add the text or CSS selector for your Accept, Deny, Options, and Save buttons to track any banner interaction.
Your dashboard is live
Accept rate, deny rate, ignore rate, and banner-not-shown rate. Breakdowns by traffic source, UTM, country, referrer, browser, page, and more. Trends, funnels, and raw SQL - all ready to go.
Installation
<script>
window.AhConsentConfig = {
accountId: 'YOUR_ACCOUNT_ID',
bannerId: '#cookie-banner', // CSS selector of your banner container
acceptTarget: 'Accept All', // button text or CSS selector
denyTarget: 'Reject', // button text or CSS selector
optionsTarget: 'Settings', // optional
saveTarget: '.save-prefs', // optional
trackingLevel: 'full',
};
</script>
<script src="https://load.assertionhub.com/ah-cbt.js"></script> Works with any consent banner. No modifications to your existing setup required.
Built for
Analysts and Agencies managing consent at scale.
If you've ever wondered whether your Facebook campaigns bring visitors who reject consent at 3× the rate of your organic traffic - this answers that.
Built for teams who want attribution-level detail on consent, not just a pass/fail count.
AH Analytics - Cookie Banner
Simple pricing
Priced by events, not seats. Start free, scale as you grow.
Free
Personal projects, testing.
No credit card required
- 10,000 events / month
- Full Platform access
- 1 domain
- 30-day retention
Starter
Freelancers, small sites.
- 100,000 events / month
- 3 domains
- 30-day retention
- Everything in Free
- Priority email support
Growth
Small agencies.
- 500,000 events / month
- 10 domains
- 90-day retention
- Everything in Starter
- Priority email support
- Chat support
Enterprise
More than 500k events? Get in touch.
- Unlimited events
- Unlimited domains
- 90-day retention
- Everything in Growth
- White-label
Frequently asked questions
- What counts as an event?
- Any consent interaction: banner shown, accept, decline, opening settings, saving preferences, a custom button click you configured, or a page load.
- Does it store personal data or set cookies?
- No. The script writes no cookies and stores no user IDs. Events are keyed to an anonymous tab-scoped session that expires when the browser tab closes. Country is resolved server-side from the request. The IP address is never stored.
- Does it work with my existing consent banner?
- Yes. AH Analytics - Cookie Banner is banner-agnostic, you don't need to make any changes to your setup.
- What happens if I exceed my event limit?
- You will be notified by email at 80% and 100% of your monthly limit. Events beyond the limit are dropped. Your site continues to work normally. Those interactions simply will not appear in your dashboard until the next cycle or an upgrade.
- Do I need a credit card to start?
- No. The Free plan requires no credit card.
Get in touch
Any questions?
Contact us to discuss your analytics needs. We'll use your contact information strictly for our preliminary consultation. No marketing or spam emails.