Steve A Posted February 2, 2022 Report Share Posted February 2, 2022 The default spud script provided in the Publishing Control Panel places the spud at the location where you paste the script. To improve page performance, especially when embedding promotion spuds on your home page, you can place the spud script at the end of the page and edit the script to reference the location where the spud should be placed using the spudId parameter. This allows the spuds.js library to be loaded after the main portion of the page so visitors see other content more quickly. Here is an example of loading the spud code at the end of the page by specifying the id of the element where the spud should be injected (the spudId). This can improve page overall page loading times by deferring the loading of the spuds.js library until after the page has loaded. https://www.trumba.com/demo/DeferSpudLoading.htm For more information, see Use spudId to improve page load time: https://www.trumba.com/help/publish/embedv3.aspx#spudid Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.