After making an AdSense account, google gave me a javascript tag to paste into my header on my index.html page
"<script data-ad-client .... more filler stuff that has unique codes .... </script>"
After adding this to my website, I am unable to load my website on mobile devices. Anyone have any ideas why this is or how to solve it?
My website is https://www.networkpost.org/
My ideas: 1.) Maybe this script conflicts with another one of my scripts:
<script src="\\\\\\\\\\\\\\\[http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js\\\\\\\\\\\\\\\](http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js)"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.10.2.min.js"><\\\\\\\\\\\\\\\\/script>')</script>
<script type="text/javascript" src="js/jquery-migrate-1.2.1.min.js"></script>
<script src="js/jquery.flexslider.js"></script>
<script src="js/doubletaptogo.js"></script>
<script src="js/init.js"></script>
2.) Maybe my website is too young to do this since I hosted it literally today with amazon s3.
3.) Maybe this code always crashes mobile sites?
4.) Maybe I was supposed to paste the code into every single .html page I have?
Anyone with any ideas will be a huge help, thanks!
Submitted June 17, 2020 at 02:02PM by ggg4win https://www.reddit.com/r/Adsense/comments/hb3eph/adsense_stopped_my_website_from_working_on_mobile/?utm_source=ifttt






No comments: