Ask A Question

Notifications

You’re not receiving notifications from this thread.

Affiliate Program Gems

Brent C asked in General

I would love a tutorial on creating an affiliate program... Anyone have any gems they can recommend?

Reply

That is great, I am working on Social media aggregation tools like taggbox and tagembed they provide complete solution on embed social feeds and reviews from 20+ networks on website.
please check it out for reference: tagembed & taggbox's affiliate programs

Reply

That would be cool. I've had to build a basic affiliate program in the past several times. I'll usually make it from scratch, but there might be some gems for it.

Ever seen this one? https://github.com/alexlevin/rack-affiliates

Reply

I have been looking into that one. But, I've been leaning towards rolling my own. From what I gather online, it's not to complicated just takes some mapping out depending on the complexity. A multi-tier program seems to get more complex but luckily I'm not needing that right now, haha.

It would be nice to have a comprehensive video tutorial to reference *hint, hint, wink, wink. LOL

Have a HAPPY NEW YEAR

Reply

I think most of the time you'll need to do about 3 things:

  1. Share the ?ref=LKSJDFLKJSDG in the url where that's some unique code per user saved on the User model
  2. When someone visits the page, just stash that in a cookie, preferrably the session so it can't be tampered with
  3. Upon registration/checkout, check that cookie by looking up the referral user to see if you can find one that matches. If so, record the referral and whatever else you want to do with that.

How do multi-tier programs work?

I can definitely make a video for you on that. I'm moving in a about 2 weeks, so I'll put that on the schedule to record shortly after I get settled! :D

Reply

+1 for an affiliate program screencast!

Reply

Yes, would love an affiliate program screencast!

Reply
Definitely, it would be useful a video about that
Reply

+1 for a multi-tier affiliate program screencast, which would work with different ways of payments (PayPal, Stripe). :)

Reply

Yaay! Please!

Reply

+1, needed it very much.

Reply

Depending on what you need, Chris already did 2 screencasts on this, one for Rewardful & Stripe and one from scratch, https://gorails.com/episodes/referral-program-from-scratch?autoplay=1

Reply

@Mark Rybarczyk
Thanks buddy!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.