In this article, you will learn more about the two ways to add custom code to your landing page.
We will tell you more about the following topics:
Adding custom code to your landing page settings
You can integrate analytical tracking codes on your landing page from the page settings.
Be aware that custom code on a landing page will only be displayed when this page is live. It will not be shown in the page builder.
To add custom code to your landing page settings, follow the steps below.
1. Click on 'Website' in the MailBlue menu.
2. Select 'Pages' on the left side of your screen.
3. Click on the drop-down arrow next to the 'Edit design' button.
4. Select 'View page settings'.
5. Go to the 'Custom code' tab.
6. You will now see the <head> and <body> fields where you can add the custom codes.
7. Click 'Close' after adding the code.
If you want to add the Google Analytics code to your page, add it to the header (<head>). Refer to the article 'How do I add Google Analytics to my MailBlue landing page?' for more information on this topic.
Adding custom code to your landing page using the 'Embed' block
If you want to add a MailBlue form, a Google Maps, or for example a Calendly widget to your landing page, you can do so by using the 'Embed' block. Simply drag this block to where you want to place the code on your landing page.
After placing the block, click on it and on the right side of the page, you can enter the desired code.
For more information on placing a form on your MailBlue landing page, read here.