I would like to create a subscribe page with Gatsby-react
Something “basic” like this
Gatsby has a little tutorial for adding forms here:
Nevertheless, this will not use the built in Ghost subscriber functionality, as there’s not way to add a subscriber to Ghost using the API.
I think the easiest way for you to solve this is to use an external service and add new subscribers. You can see an example implementation w/ Typeform here.
If you’re using Netlify to host your Gatsby project, you can use their forms functionality:
They also offer a tutorial how to use their forms functionality with a static site generator like Gatsby here.
Let me know, how you get along!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.