8
3 Comments

How I built a free newsletter referral system for EmailOctopus in an hour

https://shchoi22.medium.com/how-i-built-a-free-newsletter-referral-system-for-emailoctopus-in-an-hour-99e885219d1c

TLDR:
Requirements:
1. You know how to code a bit. Knowing vanilla Javascript is necessary for later part of the implementation.
2. AWS account
3. EmailOctopus account

Steps:

  1. Setup EmailOctopus using custom fields
  2. Update EmailOctopus template with {{ID}} merge tags
  3. Get EmailOctopus API key
  4. Setup Serverless with AWS Lambda
  5. Update landing page with click event bound to "Subscribe" button.
  6. Detect referrer id in url params and make AJAX request to Serverless function using the id.
  7. Create a segment with desired referred count >=.
  8. Profit 🤑

Let me know if you have any questions below! And show me some ❤️ by subscribing to my newsletter ARK Watcher (only if you are interested in stocks!)

posted to Icon for group Newsletter Crew
Newsletter Crew
on December 25, 2020
  1. 1

    V cool, thanks for writing it up too.

  2. 1

    Super awesome write up, and very clear to follow. I'm going to give it a crack after the holidays 👍 Thanks again!

    1. 1

      Glad you found it helpful! Let me know if you have any questions!

Trending on Indie Hackers
From building client websites to launching my own SaaS — and why I stopped trusting GA4! User Avatar 39 comments I built a tool that turns CSV exports into shareable dashboards User Avatar 35 comments The “Open → Do → Close” rule changed how I build tools User Avatar 32 comments I lost €50K to non-paying clients... so I built an AI contract tool. Now at 300 users, 0 MRR. User Avatar 24 comments Everyone is Using AI for Vibe Coding, but What You Really Need is Vibe UX User Avatar 23 comments $0 to $10K MRR in 12 Months: 3 Things That Actually Moved the Needle for My Design Agency User Avatar 22 comments