Lead Magnets around MailerLite API

Lead Magnets around MailerLite API

September 21, 2025

Tl;DR

Get a view is trivial with millions of brains dumb scrolling.

Getting a like is easy.

You will get followers.

Would you be able to influence someone?

Do they like you enough to have a 1:1 information exchange?

Or they just see your content in between ads?

Intro

Apparently, there are many digital creators.

Its strange that people look at you asking if by having blog you meant instagram.

Some people use mailchimp, or

But i just felt confortable enought with Mailerlite: https://www.mailerlite.com/pricing

Setup MailerLite for your Websites with Custom Domain πŸ“Œ

You will need to authenticate that you own the email and also the domain (with DNS).

Go to your mailerlite dashboard UI

I am using Cloudflare for that domain, and the DNS were updated automatically via UI.

There are some CName and txt records and they will be DNS only, not proxied.

MailerLite Custom Domain Setup

Create a new form and you will get the JS to place before the </head> of your web.

<!-- 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', 'some_acount_id');
</script>
<!-- End MailerLite Universal -->

You can also get MailerLite working with a button, so that it opens as pop up:

<a class="ml-onclick-form" href="javascript:void(0)" onclick="ml('show', 'some_id_here', true)">Click here to show form</a>

and use it with your components, for example
<form id="simple-newsletter-form" class="input-container" method="post" action="javascript:void(0);" onsubmit="ml('show', 'some_id_here', true); return false;">
    <input type="submit" value="Ready to Know?" class="ml-onclick-form" style="appearance: button; -webkit-appearance: button; cursor: pointer;">
</form>

Plus they have a cool CSR pricing page!

MailerLite API

This is what you need: https://dashboard.mailerlite.com/integrations

Mailerlite API integration

MailerLite Integrations

As long as you know how to work with Webhooks…you have it all:

MailerLite x n8n

See how Ive done it: https://jalcocert.github.io/JAlcocerT/n8n-with-ai/#n8n-x-mailerlite

Configuring mailerlite webhooks for n8n

A Theme to Test Mailerlite

Anything would work.

But I needed an excuse to try BCMS.

MIT | πŸ‘©β€πŸ’» Build beautiful, accessible, high-performance websites with BCMS

⭐️ BCMS is a Headless CMS for developers & their clients. Works nicely with Gatsby, Next.js & Nuxt. This is an open-source version for self-hosting.

Using Headless CMS & Nuxt.js to Develop Fast Static Websites | Momcilo Popov | Front End developer

lets try that:

ℹ️
This is a very cool setup for a ~webifyer kind of idea, same as Pages CMS

is BCMS a thing?

For couple months I wanted to give a full try to BCMS.

But I was just getting started with BCMS.

The BCMS sample projects provide responsive layouts, lightbox/carousel support, and various customization options suitable for photograph was promising.

https://jalcocert.github.io/JAlcocerT/selling-with-a-landing-website/

BCMS vs PagesCMS

Podcast

Particularly: https://podcast-starter.thebcms.com/, this https://github.com/bcms/starters/tree/master/astro/podcast

A podcast post again?

https://jalcocert.github.io/JAlcocerT/tech-for-podcast/#podcast-website

alt text

Yes, again.

But this time there will be some part available for anyone.

And some part available for subscribed users.

ℹ️
I could have just continued and plug this to the waiting2landing or into a Photo Gallery
git clone https://github.com/bcms/starters
sudo rm -r .git

Photo Gallery

Just in case that you were tired of the fantastic Hugo Photo Gallery.

I tried that with few samples last year:

I bring you few more:

There are several GitHub repositories with photo gallery themes built for both Astro and Hugo frameworks.

Astro photo gallery themes:

  • jomaendle/astro-photo-gallery: A simple photo gallery using the Astro framework.
  • erfianugrah/revista-3: A photography portfolio theme with a masonry layout, image optimization, and lightbox, built on Astro.
  • Astro official theme listings also include photography portfolio templates with responsive designs and gallery features.

Hugo photo gallery themes:

These projects provide responsive layouts, lightbox/carousel support, and various customization options suitable for photography portfolios or general image galleries.

6 - Very nice Hugo theme for creating photo galleries based on images’ metadata. See https://matze.rocks/images/ 15 - This one is a great start for a ,instagram clone’ and is multilang


Conclusions

That’s it.

Consider this as a new ssg + mailerlite 101.

But I will have to try BCMS and PagesCMS at another occasion.

For the future, probably I have to build some kind of Just JAlcocerT Newsletter with RSS support ofc.

What People have Build

A simple WP + (paywalled) subscription

Subscribe Web Example