• Resolved weigertj

    (@weigertj)


    Hello, my issue is that the JS code I have to copy to the 3rd Party Cookies’ code section, becomes visible at the very bottom of the wepage in mobile view, after I accept the banner. It should not be visible to viewers of the website. I use Qode Bridge theme.

    gtag('consent', 'default', {
    'ad_storage': 'granted',
    'ad_user_data': 'granted',
    'ad_personalization': 'granted',
    'analytics_storage': 'granted'
    });
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter weigertj

    (@weigertj)

    I found what caused the problem… I put the code in the Head Section.

    By the way, should this code be placed in the Header Section or Body Section?

    Many thanks in advance, Jozsef

    Plugin Author Moove Agency

    (@mooveagency)

    Hello,

    Great to hear you managed to resolve it.

    We would recommend the Head section.

    Hope this helps.

    Thread Starter weigertj

    (@weigertj)

    Hello, thank you for your quick reply.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JavaScript code appears on website (mobile view)’ is closed to new replies.