Google's Consent Mode lets you send your visitors' Instapage cookie bar consent status to Google, which will then dynamically adapt the behavior of Analytics, Ads, and third-party tags that create or read the cookies. Consent mode does not provide a consent banner but rather, instead interacts with your existing banner to obtain the visitor consent. This all happens by placing a piece code on your landing page, that we adapted specifically for our Instapage Cookie Bar.
Consent mode can be implemented through Tag Manager or gtag.js, and the below code was created for the gtag.js implementation, which you will need to make sure is added to every page of your website.
The Instapage Cookie Bar should be enabled from the page slide-out under Scripts & Privacy:
Next, the following code should be added inside the Settings > HTML/CSS> Head section of your landing page where you would like to enable Google's Consent mode.
Note: Remember to also edit the G-XXXXXXXXXXX by adding your own Google tag from the code above.