Hi Dave, thanks for your message. This code is not the calendly code which is slowing down the page – That’s inside the embedded html. I also placed the calendly link in the before body tag but it’s not changing anything speed-wise.
Hi @creatspot, I was doing some additional testing on the widget.js that calendly provided. Using an Ajax function to load the script after a document.ready call seems to boost the speed on my end from a 55 score to a 77 score.
Thanks @creatspot thanks for letting me know, the results may vary depending on the scripts used, I am glad you found a solution, that might help others as well.
55 to 77 sounds amazing, but I don’t recognise the code you’ve posted or where it would go. It doesn’t seem similar to anything in the Calendly embed code so I’m not sure what to do with it. If I add it (just as you’ve posted it) to the ‘before body’ area, it’s just grey, and Webflow doesn’t seem to know what to do with it.
Is there some kind of wrapper that it should be putting it in, that people who know how to code would just take for granted? Or does it actually go somewhere else (i.e. not the page custom code editor, and not the embed object code editor).