react-firebase-starter
react-firebase-starter copied to clipboard
Adding adsense and other scripts it makes things to load unnecessary and wrong
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:
- https://adservice.google.co.uk/adsid/integrator.js?domain=localhost
- https://adservice.google.com/adsid/integrator.js?domain=localhost
Notice that the domain is different and also domain is localhost...
I also get this weird request:
- https://pagead2.googlesyndication.com/pub-config/r20160913/ca-pub-8900380089861989.js
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?