I am a little confused by Step 4 in this documentation: https://www.cookieyes.com/documentation/google-consent-mode-v2-integration-with-cookieyes-wordpress-plugin/
In it the third item is the CookieYes script, with the added note: Do not add CookieYes script again from the CookieYes Webapp. The wp_head() function already executes this action.
Unless I missed something I haven’t installed this script at all, making doing it again highly unlikely. At this point this is what the <head></head> section of the header.php looks like:
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" >
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("consent", "default", {
ad_storage: "denied",
ad_user_data: "denied",
ad_personalization: "denied",
analytics_storage: "denied",
functionality_storage: "denied",
personalization_storage: "denied",
security_storage: "granted",
wait_for_update: 2000,
});
gtag("set", "ads_data_redaction", true);
gtag("set", "url_passthrough", true);
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5F2H8XX2');</script>
<!-- End Google Tag Manager -->
<?php wp_head(); ?>
</head>
Am I missing anything?