If you've followed along with our article on setting up Google Consent Mode, then you'll be able to test whether it's correctly implemented by watching the video below or following the steps outlined:
Open a new Incognito window in your browser of choice
Your consent pop-up should appear once the page has loaded. Right click and select "Inspect"
Click on the "Console" tab and type "dataLayer" (without quotes). Hit Enter. You should now see events in the dataLayer.
Click on the event called "consent". You should see the default state of consent which is denied for both analytics_storage and ad_storage.
Accept cookies on the consent pop-up.
In the Console, type "dataLayer" and hit enter (again, without quotes).
Find the "consent" event again. You should see that the update object has been pushed to the dataLayer and analytics_storage and ad_storage are now set to "granted"
Google Consent Mode is of course only useful when cookies are declined - this means that if you repeat the same process, analytics_storage and ad_storage will both remain denied. Google Consent Mode will then use pings instead of setting a cookie.