[Support request] Add Code to activate Google Adsense in GP Hooks

Home Forums Support [Support request] Add Code to activate Google Adsense in GP Hooks

Home Forums Support Add Code to activate Google Adsense in GP Hooks

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #776191
    Alejandro

    Hi, I’m trying to add the code to activate a Google Adsense account between the tags <Head> and </Head>.

    I include this code in the Hook “wp_head”, but it doesn’t work. It returns an error page that says “This page doesn’t work Chrome has detected an unusual code on this page and blocked it to protect your personal information (e.g. passwords, phone numbers and credit cards).
    Try accessing the website’s home page.
    ERR_BLOCKED_BY_XSS_AUDITOR”.

    I’ve tried with other navigator and the same.

    What can I do? Is there any other hook I can use for this?

    Sorry for my english.

    Thanks & regards.

    #776480
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That’s strange. Are you using the latest version of Chrome?

    If so, it may be added protections from your hosting in order to prevent script tags from being sent over your site. If Chrome is up to date, and it happens in other browsers, it may be worth checking with your hosting support.

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