The discussion addresses the absence of the Google Analytics tracking script on Discourse’s account creation and activation pages. Dreamhearth initiated the thread, noting that these pages lack the script and asking if a pull request was welcome. codinghorror welcomed the contribution, emphasizing the need to ensure new user registration remains functional. scotta expressed strong interest, highlighting the utility for cohort tracking and asking for a timeframe. Dreamhearth responded that a pull request was imminent and outlined future plans for GA Universal configuration in the admin panel. Following this, codinghorror asked techAPJ to implement the change directly. Consequently, techAPJ committed code adding the script to /users/account-created, /users/activate-account, and /users/password-reset pages.
I’m looking forward to seeing this tracking added to Discourse. I’ve got a user funnel that I use to do my daily cohort tracking. Getting new accounts added to that report will very, very useful.
Any idea on a timeframe before we’ll see this added to the code?
Scotta, I’ve done some work on this and I’m hoping to submit the pull request in the next day or two!
One of the things I’d like to work on next is setting up Google Analytics Universal configuration in the admin panel so that you can track users across devices and track custom events such as creating topics, replies, etc. I’m not quite sure what the scope will be yet, but there’s a lot of analytics and tracking functionality we can get out of a little bit of code and that’s what I’ll be shooting for. I haven’t brought this up to the devs yet for their take on it, but I plan to after I submit this pull request.