The Easiest Way To Integrate Drip Into Your Ghost Blog

2018-07-28

Update: I published another blog post showing how to embed a custom Drip email optin form directly into the Ghost blog theme. Click here to read it!

Ghost Blogs have a built in subscription feature which allows people to optin to your newsletter. Currently you can only Import CSV, Export CSV or Add Subscriber individually.

You still have to have a 3rd party software for emailing out to your list, something like Drip. You can of course sync with a bunch of marketing automation and email marketing software like Drip by using their Zapier integration, but that’s added cost where it’s just not needed.

First I tried just adding the Drip Form Widget with ‘Lightbox’ Orientation and a time delay. This solution worked only when I was testing in my local Ghost development environment, when I uploaded the modified theme to my live Ghost blog though the widget wasn’t working. I’ll have to contact support about this but the in the meantime, that lead me down another path.

I then considered just creating a subscribe.hbs Ghost template file and embedding the Drip Form but that would require me to do custom style job with CSS and I admittedly do not have a ton of experience styling forms. I then just decided to hardcode links into the Ghost theme to send people to the Drip Hosted Form that you can see here.

Here are the files and code I changed in order to get my homepage newsletter sign up button and “Subscribe” nav link to point to the Drip hosted form (click on the images to view the code change in Github):

Here’s the code I changed on the post.hbs template so the newsletter sign-up call to action shows up at the bottom of each blog post:

And that’s it, I’ve got Drip ‘integrated’. The theme I’m using for Varpop is Attila theme.

Obviously the best long-term situation would be to just create a subscribe.hbs file and style the embedded Drip form to match your website’s design. Also, it would be awesome if the Drip widget worked, I’ll make an update if I learn more about that from support.