Skip to content

Building landing pages with Gatsby

Posted on:March 12, 2020 at 01:30 AM

Sure I could have just used Mailchimp landing pages, they look fairly good, but if you want a little more control and a little less lock-in, you can use a combination of:

This entirely free solution gives you a performant website landing page, with lead capture, automatic thank-you emails care of mailchimp and a with a simple way to push your code all the way to your website:

git push -u origin master

Netlify will run a gastby build automatically and push public/ to the web whenever you push your master branch to github.

And, if your feeling really lazy, you can roll it out with this gatsby / mailchimp form template:

https://www.gatsbyjs.org/starters/tonydiaz/gatsby-landing-page-starter/

The only thing left to do with this template is setup a fancy action on _handleSubmit after their email address has been sent to mailchimp.

Here is a bonus article on the gatsby / mailchimp integration:

https://thetrevorharmon.com/blog/email-signup-forms-with-gatsby-and-mailchimp