Hello, I’m building a referral landing page for a product I’m helping with and I’m watching the referral landing page video provided by zeroqode. The fourth video in the course is explaining how to have a unique code in the url and how to save that unique code on the current user before they’ve technically signed up. Every-time I test this tho the referred by data field I’m using to track who’s link the current user used to sign up with is saving as the users own referred by link code and I’m not really sure why.
TL:DR - the picture below shows my data table, the more recent sign ups (top) should have the row below them’s “code” as their “referred by”, but it keeps on saving the code and referred by as the same number for the same user. Any help is appreciated but not expected.