How to add attribute to Adsense script?
-
Hi ,
I’ve used verified Adsense through Advanced Ads > Settings > AdSense , and pasted the activation key into AdSense account field , then created new ads to display auto ads only on specific pages and positions.
Everything works great.But now , I’d like to enable Rocket Loader in Cloudflare to async script to fast up page loading.
And I also want to exclude Adsense script from Rocket Loader by adding the data-cfasync=”false” attribute to Adsense script tag to avoid Adsense script being async.
(which is found in cloudflare support)
https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-specific-JavaScripts-Because the Adsense script had been inserted by adding activation key into Advanced Ads.
And I also want to display auto ads only on specific pages and positions through Advanced Ads.
So, is there a way to add the data-cfasync=”false” attribute to Adsense script in Advanced Ads?Thank you so much.
- The topic ‘How to add attribute to Adsense script?’ is closed to new replies.