Newsletter
With this plugin, you can integrate signup forms from MailerLite and Kit (ConvertKit) into your Typemill website using a simple shortcode. The plugin requires a MAKER license.
Integrate Mailerlite
To integrate a signup form from MailerLite:
- Log in to your MailerLite account.
- Create a new form and copy the JavaScript snippet provided for embedding the form.
The embed script will look like this:
<!-- MailerLite Universal -->
<script>
(function(w,d,e,u,f,l,n){w[f]=w[f]||function(){(w[f].q=w[f].q||[])
.push(arguments);},l=d.createElement(e),l.async=1,l.src=u,
n=d.getElementsByTagName(e)[0],n.parentNode.insertBefore(l,n);})
(window,document,'script','https://assets.mailerlite.com/js/universal.js','ml');
ml('account', '1234567');
</script>
<!-- End MailerLite Universal -->
Below the script, you'll find an HTML snippet with your form ID, like this:
<div class="ml-embedded" data-form="a1b2D3"></div>
The data you need are:
- Account-id from the embed code:
1234567
. - Form-id from the html-snippet:
a1b2D3
.
Now switch to your Typemill website:
- Visit the plugin-area in the system settings and open the configuration for the Newsletter Plugin.
- Activate MailerLite.
- Enter your account ID and form ID in the respective fields.
Now open the conten page where you want to integrate the submit form. Select the shortcode component in the visual editor and select mailerlite.
Integrate Kit (ConvertKit)
To integrate a signup form from Kit:
- Log in to your Kit (ConvertKit) account.
- Create and publish a new form.
- Click the Embed button.
A popup will appear with an embed code like this:
<script async data-uid="1f23e45d6" src="https://youraccountname.kit.com/1f23e45d6/index.js"></script>
From this script extract:
- Form-id:
1f23e45d6
- Account:
youraccountname
Now switch to your Typemill website:
- Visit the plugin-area in the system settings and open the configuration for the Newsletter Plugin.
- Activate Kit.
- Enter your account ID and form ID in the respective fields.
Now open the conten page where you want to integrate the submit form. Select the shortcode component in the visual editor and select kit.