Contao
This guide explains how to integrate the SiteCockpit widget into your Contao website using the embed code. The integration is done via a custom frontend module that is inserted into the page layout.
- Log in to the Contao Backend
- Edit Theme
- Create a New Module
- Configure the Module
- Edit Page Layout
- Edit Layout
- Add Module to Footer
Log in to the Contao Backend
Log in to your Contao backend and navigate to Themes in the left-hand menu.
Edit Theme
Select the theme you are using.
Click the three dots and then choose
Edit the front end modules of theme ...
Create a New Module
In the module overview, click the New button to create a new module.
Configure the Module
Enter a unique name and select the module type:
Custom HTML Code.
Paste the embed code from your SiteCockpit dashboard into the HTML Code field.
Edit Page Layout
Once you have saved the module, go back to the theme overview.
This time, select Edit the page layouts of theme ...
Edit Layout
Locate the page layout you are using and click the pencil icon to edit it.
Add Module to Footer
Go to the Frontend Modules section.
Insert the module you created earlier at the desired position – ideally in the footer.
The integration is now complete.