The AMP JS library and component scripts are the part of required markup and need to be loaded as early as possible in the <head> section. delaying them may cause issues or an invalid AMP page, The scripts are already optimized and served over CDN.
If you interested in this topic I will recommend subscribing to this issue opened upstream.
OK, thanks a lot. The flying scripts plugin allows you to delay the loading of scripts, such as google analytics or adsense, and the loading speed improves a lot, I get a 100 score. I’m not really sure right now about the benefits of using amp, because core web vitals metrics are not good at all. Thank you anyway.
@laura530 As we haven’t received a response, I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist. Thank you!
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘delay script in amp pages?’ is closed to new replies.