I tracked issue to GA4 consent issue. Is there a setting to enable consent approved?
Plugin Author
shan
(@suhanduman)
Hello;
It sounds like you’ve run into the “Consent Wall”—the classic challenge of modern tracking. Here is a breakdown of why you are seeing Meta events but nothing in Google Analytics:
1. Server-side (Meta) vs. Browser-side (Google) Our plugin sends Meta and Pinterest events directly from your serverto their APIs. This process typically bypasses browser-level consent tools unless explicitly configured otherwise. However, Google Analytics 4 (GA4) events are triggered in the browser via the GTM dataLayer that our plugin populates.+4
2. Why Google stopped receiving events If your logs are current but Google is empty, it means the plugin is successfully pushing data to the dataLayer, but your GTM tags are refusing to fire because they haven’t received a “consent granted” signal from your Consent Management Platform (CMP).
3. Is there a “Consent Approved” setting? No, there isn’t a toggle within the plugin for this, and for a good reason: Consent management is a legal compliance task handled by your CMP (e.g., Cookiebot, OneTrust) and GTM’s Consent Mode.
- Our plugin’s job is to provide the raw data to the
dataLayer.
- GTM’s job is to decide whether to send that data to Google based on the user’s choices.
How to fix it:
- Check GTM Consent Mode: Ensure your GA4 tags are not set to “Additional Consent Required” if you haven’t set up a CMP to provide that signal.
- Debug Mode: Use the GTM Preview mode. If you see our events (like
purchase or add_to_cart) appearing in the summary but the tags are “Not Fired” due to “Consent Settings,” you’ve confirmed the issue is in your GTM configuration, not the plugin.
Regarding the logs stopping on the 24th: disabling and re-enabling the plugin resets the WordPress Cron tasks and clears the internal queue, which usually fixes any “stuck” processing threads.
(BTW, i will think if i can find something)
Kind regards,
Suhan
Plugin Author
shan
(@suhanduman)
Hello;
I have published the version v3.5.0-alpha release that implements the best current workaround: Google Consent Mode v2. (3.4.2 remains the stable release for everyone else)
Here is what the Google Consent Mode v2 does:
- Cookieless Pings: When a visitor denies consent, the updated GTM template allows an anonymous, cookieless ping to be sent to Google instead of completely blocking the tag.
- Conversion Recovery: Google uses machine learning on these pings to model behavior, allowing you to recover roughly 20% to 50% of the conversions you are currently losing.
The PHP code itself is totally identical to 3.4.2. The v3.5.0-alpha update only includes the new GTM template and updated GTM setup instructions in the readme to help you wire up Consent Mode v2 properly.
Kind Regards,
Suhan
Thanks for the feedback. I made a Consent Approval tag that loads before the other tags in GTM and that seems to have sorted it.