Integrate Ghost with Hubspot for more efficient email campaigns - keep your subscribers in sync and automate RSS to email
If you're using the Hubspot marketing software to run your email campaigns, ensure your Ghost publication is fully integrated and all of your subscribers are in sync.
Here are some popular ways you can use Ghost and Hubspot together:
Sync Ghost subscribers to Hubspot
Ghost comes with a built-in subscribers feature that allows you to collect reader email addresses and it's entirely possible to link this with your Hubspot account using Zapier. This will ensure subscribers in Ghost are always pushed into Hubspot or vice versa, saving you from the task of manual updates.
Once your integration has been setup it'll run in the background and make sure that your subscriber lists are always up to date.
Embed custom subscription forms
If you prefer to use subscriber forms from Hubspot directly - you can use their form builder tool to create a form and embed this in Ghost using HTML cards or directly in your site's theme files.
First you'll need to create a new signup form from your Hubspot account list and customise it as necessary:
Once you have personalised the design and behaviour for your form, use the embed code to integrate the form with your Ghost site:
Add the form to a single post
If you just want to add the signup form to one particular post or page on your site - you can add a new HTML block within the Ghost editor and paste the HTML embed code there. Hit publish. And you're all set.
Add the form to multiple pages of your site
If you'd like to add a newsletter signup form to multiple pages of your site, then you'll need to add the embed code to your Ghost theme.
Locate the template file where you want to insert the signup form. This is usually
post.hbs. Ghost's default theme Casper has a spot specifically reserved for inserting comments in here, which is an ideal location for an email subscriber form, right after the content:
After editing you'll need to save the file and upload a fresh copy of your them. Don't forget to restart Ghost if you're self-hosting!
Setup an automated RSS email campaign
It's also possible to use RSS feeds to setup automatically generated campaigns of the latest content on Ghost, directly to your subscribers!
In Hubspot your subscribers are able to manage their own subscriptions and decide which emails to receive, so you'll need to create a custom property and an active subscription form tied to an email list specifically for your RSS email campaign.
Once this is complete, you can build a new email using a URL to automate the population of your content from Ghost. Don't forget: You can add
/rss/ to most URLs in Ghost to get a custom RSS feed. Here are some demo examples:
- Main post index - https://demo.ghost.io/rss/
- Author archive - https://demo.ghost.io/author/lewis/rss/
- Tag archive - https://demo.ghost.io/tag/fiction/rss/
Once you've customised your email in the editor, you can schedule the email as a one-off or a recurring newsletter of your latest content.
Do more with Zapier automation
Connect Hubspot to more of your favourite tools and align all of your processes. Zapier has lots more commonly used automations already pre-built - or you can build your own.