Introduction
We tried Tapfiliate and others affiliate marketing program but it is often expensive (starting $60/mo) and does not handle payouts etc.
We decided to implement a minimalist version of affiliate marketing tracking so we could handle the tracking, charts, payments in our Bubble App.
How it works
Video :
https://www.youtube.com/watch?v=Cmt3arsqQJI1) When a visitor access
https://my-app.bubble.com?ref=foo2) Then a cookie foo will be set.
3) And plugin will call API Endpoint URL if set
You will still need to implement yourself the sign up to the User by using the API call.
Setup
1) Configure your plugin
2) Add fields in User:
Ref:text – contain the unique code that the user will share. E.g ref=foo
Optional
3) Add the API
Add an Event Table if you want to track events - it is often nice for referrals to see the activity
The cookie expires after 90 days (configurable)
In our application we user the referal code from the element action in order to affiliate a booking/cart or customer to the partner.
FAQ
Does this plugin work on /anypage?ref=foo ?
Yes this is the goal of this plugin so you don't need to set up custom codes on all your page.
Can I track event analytics ?
Yes but you will have to create your own data table
Lost tracking
You can loose tracking if the user open your link ref= then open a new incognito browser or a new device
Payouts
You know who referred who so you will have to deal with the payouts yourself using your own way of payments : PayPal, stripe or even cryptocurrency :)