This guide explains how to integrate Hakanai Broadcast with your Gatsby-powered blog to automatically send newsletters based on your RSS feed.
Before integrating with Hakanai Broadcast, you need to set up an RSS feed for your blog using the gatsby-plugin-feed plugin.
npm install gatsby-plugin-feed
Add the following configuration to your gatsby-config.js:
module.exports = {
siteMetadata: {
title: 'Your Blog Title',
description: 'Your blog description',
siteUrl: 'https://yourblog.com', // Change to your site's URL
},
plugins: [
`gatsby-plugin-feed`,
// other plugins
],
}
For advanced feed configuration options such as custom feed paths or multiple feeds, refer to the Gatsby RSS Feed documentation.
Your RSS feed will be available at /rss.xml by default.
Once your RSS feed is set up, you can integrate it with Hakanai Broadcast in two steps:
https://yourblog.com/rss.xml)For detailed instructions on campaign creation and management, see our Campaign Management Guide.
To collect subscribers, you'll need to add a subscription form to your blog. Hakanai provides several options:
For form creation and customization instructions, check our Forms Documentation.
If you encounter any issues or need assistance, feel free to contact our support team.
Docusaurus
Complete guide to integrate a newsletter into your Docusaurus site using RSS feeds. Learn how to automatically send newsletters from your Docusaurus content with Hakanai Broadcast.
Hexo
Complete guide to integrate a newsletter into your Hexo blog using RSS feeds. Learn how to automatically send newsletters from your Hexo content with Hakanai Broadcast.