Site Kit Duplicating Script
-
I have an error that occurs with my site kit plugin (adsense)
adsbygoogle.push() error: Only one ‘enable_page_level_ads’ all
This suggests there is duplicate script- this is what site kit adds when I allow site kit to place the adsense code to the header file
<!-- Google AdSense snippet added by Site Kit --> <script src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1802995185109397" crossorigin="anonymous" type="text/javascript"></script> <script type="text/javascript"> (adsbygoogle = window.adsbygoogle || []).push({"google_ad_client":"ca-pub-1802995185109397","enable_page_level_ads":true,"tag_partner":"site_kit"}); </script> <!-- End Google AdSense snippet added by Site Kit -->
However when I remove either the toggle (to allow site kit to insert the code) or deactivate or remove the site kit plugin, ALL code is removed which no additional/duplicate code left so the conflict seems to be caused by the site kit plugin. I have tried resetting/disconnecting/deleting site kit and then redownloading and reactivating with the same problems
The page I need help with: [log in to see the link]
- The topic ‘Site Kit Duplicating Script’ is closed to new replies.