Tracking user signups with Google Analytics

I'd like to set up conversion goals for my GA account, and one of the goals I'd like to establish is creating a new user account.

I notice that when a user successfully creates a new account, she is redirected to the home page, logged into her new account.

This makes it tricky to detect the new signup with GA because there is no unique URL I can capture.

How can I track signups with Google Analytics?

todofixthis's avatar
asked 2012-07-07 11:47:09 -0500
Evgeny's avatar
updated 2012-07-08 20:46:17 -0500
edit flag offensive 0 remove flag close merge delete


The solution here is to support GA API more deeply. In theory you could add custom js to your settings, but this could be tricky. This is something that is best done in the askbot app itself.

Evgeny's avatar Evgeny (2012-07-08 20:47:01 -0500) edit

What about changing the redirect url for sign up to something like /thanks-for-signing-up

Jtrain's avatar Jtrain (2012-07-11 02:16:47 -0500) edit

@Jtrain That seems like a good approach, although it means an extra page of content that has to be developed, and it's an extra click before the new user can start using the site. This could be a good thing; it gives the admin the opportunity to present a new user with an introductionary page to orient her. An alternative approach could be to simply add e.g., ?newuser=true to the main URL and maybe display a welcome message in a banner. I think Google Analytics is smart enough that I can configure it to only count that URL as a signup if the referring URL is the signup form.

todofixthis's avatar todofixthis (2012-07-11 12:53:18 -0500) edit

We'll be using event tracking anyway - to collect stats on things like votes, posts, etc.

Evgeny's avatar Evgeny (2012-07-11 13:14:56 -0500) edit

@Evgeny Ooh. I like that very much.

todofixthis's avatar todofixthis (2012-07-11 17:03:20 -0500) edit
add a comment see more comments