How to uninstall Google Consent Mode V2?
- Firstly, log in to your seers account and click on cookie consent.
- Select the domain and click on “Preferences”.
- Scroll down until you find the option “Google Consent Mode V2”
To deactivate the Google Consent Mode V2 completely, follow these 2 steps:
Step 1
Remove the Google Consent Mode code V2 (in bold) that you inserted before your Google Analytics code or script.
<!-- The initial config of Consent Mode -->
<script type="text/javascript">
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('consent', 'default', {
ad_storage: 'denied',
analytics_storage: 'denied',
ad_user_data: 'denied',
ad_personalization: 'denied',
wait_for_update: 500, 11});
gtag('set', 'ads_data_redaction', true);
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxx-x></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-xxxxxxxxx-x');
</script>
Step 2
After removing the Google Consent code, your Google Analytics code will looks like this:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxx-x></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-xxxxxxxxx-x');
</script>