Jump to content

Using spudId to Improve Page Loading Time

Steve A

Recommended Posts

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.



For more information, see Use spudId to improve page load time: https://www.trumba.com/help/publish/embedv3.aspx#spudid


Link to comment
Share on other sites

  • Steve A changed the title to Using spudId to Improve Page Loading Time

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...