Skip to content

The only Privacy solution for WordPress you can truly trust.

Consent Events in Google Analytics 4: the My Agile Privacy® guide

Last updated: September 7, 2026

Every time a visitor makes a choice on the banner, the plugin emits an event. The “Send Google Analytics 4 events on consent changes” switch makes those same choices reach your Google Analytics 4 too, so you can study the banner’s behavior with the tools of GA4. Among the events there are the two of Google’s Consent Mode v2, which tell which of the four signals changed: in GA4 you can find out, for instance, which permission is denied most often.

Not familiar with Consent Mode v2? It is another important feature, with a dedicated guide: Supporting Consent Mode v2, what it is and how to implement it GDPR compliant. Here we only talk about the setting that sends events as consent changes.

Who can use it

Sending events to Google Analytics 4 is included in all plans from Young Fox onwards. If you are on an older plan, you can try the feature with a free trial, activated directly from the My Agile Privacy settings; when you are ready, you can request a license upgrade from your private area.

Where to turn it on

Open My Agile Privacy® › Consent Statistics and go to the “Data collection” tab. You find two switches, and they are independent: one can be on without the other, even though their closeness suggests otherwise.

  • “Enable consent tracking” feeds the statistics panel inside the plugin, covered by the Consent Statistics guide;
  • “Send Google Analytics 4 events on consent changes” is the feature of this page, and it is off by default.

Below the switch you find the warning “Requires a Google Analytics 4 installation on the site.”, and it is the only one: the plugin does not check that GA4 exists and, if it is missing, exits silently, with no errors.

Data collection tab with the Google Analytics 4 events switch turned on

What arrives in GA4

There are fourteen events, the same ones documented in the JavaScript events guide for developers.

Event in GA4 When it fires
myagileprivacy_gcmode_consent_granted a Google signal switches to granted
myagileprivacy_gcmode_consent_denied a Google signal switches to denied
myagileprivacy_cookie_accept “Accept all”
myagileprivacy_cookie_reject “Reject all”
myagileprivacy_cookie_customize the “Customize” panel opens
myagileprivacy_resurface the banner reappears from the reconsent widget
myagileprivacy_bar_shown the banner becomes visible
myagileprivacy_bar_hidden the banner closes
myagileprivacy_single_cookie_accept a single third-party service is switched on
myagileprivacy_single_cookie_reject a single third-party service is switched off
myagileprivacy_iab_item_accept an IAB vendor or purpose is accepted
myagileprivacy_iab_item_reject an IAB vendor or purpose is rejected
myagileprivacy_iab_accept_all “Accept all” inside the advertising tab
myagileprivacy_iab_reject_all “Reject all” inside the advertising tab

Twelve events arrive without parameters. Only the two of Consent Mode carry one, telling which Google signal changed:

Parameter What it describes
ad_storage_status Google’s advertising cookies
ad_user_data_status sending user data to Google for advertising
ad_personalization_status personalized advertising
analytics_storage_status measurement cookies

The values are only two, granted and denied. A limit worth knowing: the two events cover Google’s signals only. Microsoft UET and Microsoft Clarity, even when they have their own switches in the banner, produce no event here.

Two normal behaviors that look like errors

A single click produces several events: “Accept all” generates myagileprivacy_cookie_accept and then four myagileprivacy_gcmode_consent_granted in a row, one per signal, told apart only by the parameter. In the reports, Consent Mode events will therefore show a count roughly four times higher than cookie_accept: that is the intended behavior, not a measurement error.

A note about returning visitors, or further page views in the same session: whoever has already chosen and loads another page generates no events, because consent is restored silently from the cookie. GA4 receives each choice only once, at the moment it is made.

GA4 or the plugin’s internal panel?

The two tools listen to the same events, but they count differently, and the numbers will never match exactly. The internal panel counts one choice per visitor per day, and sees everyone, including those who refuse. GA4 counts every event, but receives only those who do not block GA4: those who refuse are often simply not there. This is why the acceptance rate in GA4 can look higher than in the panel: it is not an error, it is a different audience.

The practical rule: for the true rates, how many accept and how many refuse, use the internal panel; to understand who the accepters are, which pages they come from and what they do afterwards, use the events in GA4. And turning the sending on or off does not move the panel’s numbers by a single unit: they are two separate paths.

What it does not do

This setting does not install GA4 and does not configure anything inside GA4: no properties, no key events, no dimensions. It sends nothing to My Agile Privacy’s servers and adds no parameters of its own to the events.

Not seeing the events arrive, or do the GA4 numbers not add up? Write to us via the contact form: our experts, real people, will assess your case and help you read the data the right way.

FAQ - Frequently Asked Questions