Tracking signups from referrals


(William) #1

Hello

I wonder if there is a way to track new signups based on the user that referred them to Discourse.

I believe the referrals in /admin only counts pageviews and topics?

If there any way to see this information by user somewhere?

Thanks


Tracking signups from referral
(Jeff Atwood) #2

If an invite is sent by a user you can see that on their user page in the invites tab.


(William) #3

When someone lands on discourse through a ?u=username link, and then signs up, is there a way to trace that back to @username ?

Thanks


(Jeff Atwood) #4

You can process your server logs to look for that URL as needed.


(William) #5

How do I do that on the hosted version of Discourse?

Is there a more user friendly option?


(Jeff Atwood) #6

Have you set up google analytics in your site settings? This should allow you to track all kinds of page transitions and data.


(William) #7

It’s a bit technical and not user friendly at all…

I understand there is no current way to do it within discourse?

Should that be a suggestion for a new feature/plugin?


(Sam Saffron) #8

Sort of, we track that an IP landed on that link but do not track the entire chain leading to signup. I think this is a legit feature request.

Technically what we could do is set a cookie on the anonymous user with “referring user id” and then log that once user registers an account.


Tracking signups from referral
(William) #9

Thanks

What’s the process for making a feature request?


(Joshua Rosenfeld) #10

Make a topic in #feature with all the details. The more specific you can be, the better. Explain what you want to accomplish, and if possible provide UI mockups.


(William) #11

I guess the “Champion” badge (/badges/27/champion ) only include users invited by emails then?

Also I creature a feature suggestion here:


(Samir Faci) #12

I would love to see this implemented. The other idea I had was to implement a custom SSO sign up where the link provided would lead to an account creation, but the SSO link also captures meta data that can be loaded in Discourse via the Data explorer.

ie. doing a goo.gl for google analytics would expand to:

forum.foobar.com/sso/?social=twitter&referralId=1234

which then can have custom code behind the scenes that can persist the meta data accordingly. I would love to have something that is build into the forum that at the very least can be used to link who invited the person or which ‘campaign’ led to the sign up.