GA4 Setup Guide
Cookie Consent Analytics

Consent Analytics Setup

Step-by-step guide to building a GA4 custom report that tracks cookie consent opt-in rates, rejection patterns, and user behavior changes over time.

Setup time: ~15 minutes
Requires: GA4 Admin access
Data available: Within 24 hours

Step 1: Create the Custom Event

The consent_choice event is already firing from your website. Now you need to register it as a custom event in GA4 so it appears in your reports.

Why This Step Matters

GA4 automatically collects some events, but custom events like consent_choice need to be explicitly registered. Without this step, your consent data will be invisible in standard reports.

1

Navigate to Admin

In your GA4 property, click the Admin gear icon in the bottom-left corner.

2

Open Events

Under the Data Display column, click Events.

3

Create Event

Click the Create event button, then Create.

4

Configure Event

Custom event name:consent_choice
Matching conditions:event_name equals consent_choice
5

Save

Click Create. The event will appear in your reports within 24 hours.

Important: Do NOT modify the event name. The code on your website already fires consent_choice — changing the name in GA4 will break the connection and no data will appear.

What Events Are Already Firing

Banner Accept

banner_accept

User clicked Accept on the initial banner

Banner Reject

banner_reject

User clicked Reject on the initial banner

Manage Modal Accept

manage_save

User toggled ON and saved in Manage Preferences

Manage Modal Reject

manage_reject

User toggled OFF and saved in Manage Preferences

Your Compliance Stack Is Complete

You now have cookie consent tracking, a Privacy Policy, Affiliate Disclosure, Editorial Policy, and a GA4 reporting setup. This is the full GDPR/CCPA foundation for transparent, trackable consent management.

We use cookies to improve your experience

We use Google Analytics to understand how visitors use our site. No personal data is sold.