Installation/Setup Issues
-
Hi, this website has two different sets of issues.
The first has to do with mixed messages/results regarding the code to insert in the header.php. I had all of the Google Tag Manager code added before adding your plugin and wonder if my experience with this site would be different if I had added followed my previous pattern of adding your plugin first. While customizing the banner in the app I kept getting messages that the plugin hadn’t been added yet and to add this code, but not if I had already added the plugin. First I tried adding the code from https://www.cookieyes.com/documentation/google-consent-mode-v2-integration-with-cookieyes-wordpress-plugin/ The error message persisted so I finally disregarded the “do not install if I had already installed the plugin” code and added what the error message demanded anyway. I’ve used your plugin multiple times and this is the first time I have encountered this code to start the banner.
With this part there are are two concerns – first, should the code have both of your sections of code? and why are the changes I have made to customize the appearance of the banner still not showing on the public side of the website?
This is now what the modified portion of the header.php looks like:
<?php
/**
* clean_magazine_before_wp_head hook
*
* @hooked clean_magazine_head – 10
*
*/
do_action( ‘clean_magazine_before_wp_head’ );wp_head(); ?> <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);<!-- 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-TMF8DB6H');</script> <!-- End Google Tag Manager --> </head>The other set of issues relates to uncategorized cookies from tripadvisor and jscache.com. Thus far I have found it to be a waste of time to contact the sources of this sort of cookie. Even if they respond and declare them to be necessary, no action is taken and no information like a script URL pattern is given. What are the consequences of just leaving them the way they are?
Thank you
The page I need help with: [log in to see the link]
The topic ‘Installation/Setup Issues’ is closed to new replies.

