• Resolved catwingz

    (@catwingz)


    Hi, I just set up the cookie banner and Google tag manager for this website. At this point I am able to see the banner on a mobile device but not on a desktop, laptop or tablet. This covers a total of five different browsers, one of which had never been to the website before.

    The process began with having to migrate the plugin to the new version with the web app. In spite of seeing conflicting messages about whether or not to add the CookieYes code manually, I ended up doing so. After this I was able to see the banner on mobile but it didn’t fix it for the other devices.

    This is the pertinent section of the header.php:

    <head>
    <!-- Start cookieyes banner --> <script id="cookieyes" type="text/javascript" src="https://cdn-cookieyes.com/client_data/af64b1d3069ddcbc7458b72d/script.js"></script> <!-- End cookieyes banner -->

    <!-- 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-W6VD5SSK');</script>
    <!-- End Google Tag Manager -->

    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="profile" >
    <?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    <?php endif; ?>
    <?php wp_head(); ?>
    </head>

    <body <?php body_class(); ?>>
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W6VD5SSK"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->

    What needs to change? Or is this just an issue with my browsers?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @catwingz,

    Greetings from CookieYes!

    Please remove the manually added CookieYes script from your site. While using the plugin, the CookieYes script will get injected by the plugin while you connect to the web app.

    Thread Starter catwingz

    (@catwingz)

    Strange. I replied to this but it is missing. I removed the manually added code as instructed. As a result the banner is now no longer visible on mobile either. This is moving in the wrong direction. What do I need to do to make the banner visible on all devices?

    Thank you

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @catwingz,

    We could see the banner appearing on your site now.

    Please check for the banner after clearing the cookies or opening the site in an incognito window.

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @catwingz,

    This thread has been inactive for a bit, so we are going to mark it as resolved now. Please feel free to open a new thread or follow-up if you have any further questions or still need help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.