Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding adsense and other scripts it makes things to load unnecessary and wrong #270

Open
freereikicourse opened this issue Nov 19, 2017 · 1 comment

Comments

@freereikicourse
Copy link

For example if I add adsense to the page:

<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-8900380089861989",
    enable_page_level_ads: true
  });
</script>

The problem is that the render of the page will load all the scripts that adsenses "wants" and then they will be injected in the rendered html page.

This is a disaster because now I have worthless js requests:

Notice that the domain is different and also domain is localhost...

I also get this weird request:

@gerandd
Copy link

gerandd commented Aug 7, 2018

Hi, did you solve this? I'm having the same problem on my site. I would like to remove these two lines through wordpress. Some help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants