Site logo

Archived topic

Add Code to activate Google Adsense in GP Hooks

1 reply · Started by Alejandro on January 8, 2019

Viewing posts 1–2 of 2

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.

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.

This archived topic is closed to new replies.