The discussion revolves around a proposed feature to track signups from shared content on Discourse, treating links with a ?u=username parameter as invitations. Wil suggests that when a user clicks such a link and signs up, the referring user should be credited. The idea is to simplify invitations by leveraging shared content, with benefits including better tracking of influencers and reduced friction. sam supports the idea and outlines the technical steps: adding a referred_by field, storing referral data in sessions, and updating the signup process. The feature was considered for GSoC but not selected; erlend_sh offers sponsorship for anyone interested. vikaskedia expresses interest, and sam confirms the implementation would take about a week. codinghorror clarifies that the focus is on tracking explicit invitations, not implicit ones from shared content.
I like this idea, and I don’t think its too hard to implement.
I think if you share a link on twitter that somehow leads to someone signing up you had some influence on the account creation and this should be tracked.
I am putting a pr-welcome on this for now, but we can revise later and see if we add it to a release.
We store something in the session saying “Sam got this person on the site”
Later this user creates an account
Account is attributed to “Sam”
Technically it is not too hard to build this @codinghorror probably looking at 1 week of work to get all of the nits and UI going and consistent. Let me know if/when you want to slot this.