This guide will show you how to embed a swipe module on your website.
Log in to Roccai and choose the module you want to create a campaign for. Press the Share icon
Click the code icon next to the campaign you want to embed.
It can look like this (the link in the script contains your specific swipe module information).
Log in to your website backend and find the page where you want to embed the swipe module. Add a code block and add the script here.
Create a div and add the id=”roccai-container”
OBS: If you are using WordPress, then add the id roccai-container to the CSS ID field in the code block settings.
You can now style the size of the swipe module container. We recommend the following:
You will see the embedded swipe module in the preview. It will not be visible in edit mode.
If you need our help, please contact us via the chat bottom right corner.