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.
Мы сохраняем в сессии информацию: «Сэм привёл этого пользователя на сайт».
Позже этот пользователь создаёт учётную запись.
Учётная запись приписывается «Сэму».
Технически это не слишком сложно реализовать. @codinghorror, вероятно, потребуется около недели работы, чтобы довести все мелочи и интерфейс до ума и обеспечить их согласованность. Дайте знать, когда и если вы захотите включить эту задачу в план работ.