Newsletter help

Greetings,

This is my website snkjay.com

I’ve made a few posts on this forum, had great support, and I have learned so much! The last thing I need help with my website has to do with the newsletter part of my website.

It’s very much in the beta right now, even tho the site is public it isn’t completely functional yet. Like I said, I’ve figured out how to do everything else, but for the newsletter I’m confused on how to set it up.
I have a header for it, which links to a tag that would show my past newsletters while also offering the user to subscribe in case they feel like it.
I used the code snippet below in the code injection header:

<a href="<https://snkjay.com/#/portal>"
        style="  
 background-color: #f90;
 border: none;
 border-radius: 10px;
 color: white;
 padding: 15px 32px;
 text-align: center;
 text-decoration: none;
 display: inline-block;
 font-size: 16px;
 font-weight: 600;
 width: 110%;
 ">
    Subscribe here if you'd like to hear from me every month!
</a>

And that’s the orange pop-up thing on top of the website. But, it keeps returning a 404 error. I just wanted to make a simple pop-up so someone could subscribe on that specific page.

Also, I am doing reading on this, but I think I have to make an account or configuration with mailgun to get the newsletter email thing to work? So, right now, the newsletter emailing doesn’t work, from what I can understand. I think…

Thanks for reading!

1 Like

Change the link in your code from

<https://snkjay.com/#/portal>

to

#/portal

and it will work. The problem is that currently that link is being appended to the URL of your page so the resulting link is pointing to

https://www.snkjay.com/tag/newsletters/<https://snkjay.com/#/portal>

when you want it to point to

https://www.snkjay.com/tag/newsletters/#/portal

Yes, you are correct. You will need to create an account with Mailgun. There are two types of emails that you will send, transactional, which are handled by SMTP (the settings for which are in the config.production.json file at /var/www/ghost relative to the root of your Ghost installation) and bulk emails like newsletters, which will be handled by Mailgun :slightly_smiling_face:

1 Like