I want to setup an event or goal in Google Analytics to track account creation, as that is a success metric for my magento site. An event is a js append to a link that is clicked and a goal can be the js link or a destination url.

It doesn't look like there is a unique url that I can only associated with account creation. Anyone have any ideas on how to accomplish this?

Background on Magento setup:

  • I have social login and manual login
  • I require confirmation of email address before they can login

1 Answer 1


you could add a _trackEvent call to the buttons but social login might make it impossible since creating the account happens in the background.

Maybe add the event to a page after the account is created and store in the customer data you've shown it hiding it on other page views

  • I was thinking about trying to add the event to auto trigger when the success message pops up after they successfully login. That may be a bit hacky though.
    – coreyg
    Mar 17, 2015 at 3:39
  • yeah kind of sounds hacky. But this is a difficult one so might be your only solution Mar 17, 2015 at 10:40
  • I'll play with it and see what I can figure out. I'll post the solution here when done.
    – coreyg
    Mar 17, 2015 at 19:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.