Embedding Code
How to add third party code to the cms.
Sometimes there is a need to embed code from a third party into the CMS. This could be for a widget, a form or a video.
How to Embed Code
To embed code, you can use the following methods:
Drag in a text block.
Add in the widget code and click save.
Click save to save the code. It will not be visible in the cms and the component will appear like a thin pink line.
Preview the page to see the code in action.
This method has been successfully used for:
- Embedding a form from a third party ECRM system.
- Embedding an externally hosted catalogue widget.
- Embedding a video from a third party system.
Best Practices
- Always test your embedded code in a safe environment before adding it to the CMS.
- Keep accessibility in mind. Use proper HTML semantics and ARIA roles where necessary.
- Be mindful of performance. Avoid heavy scripts that could slow down the page load time.
- If unsure about the code you are embedding, consult with a developer for guidance before trying this.
We can create a custom component to handle third party code as an alternative and better practice than the above.
How is this guide?
Last updated on
Cheat Codes
A collection of cheat codes for CSS, margin vs padding, REM vs PX vs Percentage, and Bootstrap selectors to enhance your web development skills.
Image Sizes
Overview of the Remarkable Commerce Manager image size system, including features, quick navigation, and key capabilities for managing image sizes.