Hello @alekv,
We understand your frustration with the false error detection when using Pixel Manager’s lazy load feature. This issue is similar to what we’ve seen with other optimization tools like WP Rocket.
The problem occurs because our Google Consent Mode checker runs its verification before your lazy-loaded scripts are triggered by user interaction. When the checker runs, it can’t detect the properly configured consent mode because it hasn’t been loaded yet.
This is a known limitation with optimization tools that delay script loading until user interaction. When we check for GCM configuration, we’re looking for specific elements that aren’t present until after user interaction triggers your lazy load.
To verify this is working correctly, you could temporarily disable the lazy load feature when running our “Check GCM status” button in Advanced Settings, then re-enable it afterward. Additionally, You can follow the other methodes outlined in the documentation https://www.cookieyes.com/documentation/check-proper-implementation-of-gcm/
We appreciate you bringing this to our attention and we’ll look into improving our detection to better handle lazy-loaded implementations.
Thread Starter
alekv
(@alekv)
Thanks for your quick response!
The only way such a GCM status check could and should be run is by detecting the GCM network calls on the website. For that, you could use something like Cypress or Playwright where you also could simulate a user interaction before doing the test.
If you can’t do that, please, at least, when showing the GCM warning, also explain what the limitations of your check are.
Hi @alekv,
Thank you for your thoughtful feedback.
We understand the limitations of our current detection method. While simulating user interaction and detecting GCM via network calls using tools like Cypress or Playwright would offer a more accurate assessment, it’s not a feasible option for us at the moment due to the complexity and performance considerations involved.
That said, we do acknowledge the importance of transparency. As per your suggestion, we will look into updating the GCM warning message to clearly explain the limitations of our current check, particularly when lazy-loading mechanisms delay script execution beyond our verification timing.
We truly appreciate your collaboration and will keep working to improve compatibility with tools like Pixel Manager.
Hello @alekv,
It has been quite some time since our last communication. As we did not receive any follow-up questions from you, we will mark this thread as resolved. Please open a new thread if you still have questions that require our attention.