Index: trunk/extensions/CustomUserSignup/modules/AccountCreationUserBucket.js |
— | — | @@ -46,15 +46,14 @@ |
47 | 47 | // "allActive" is reserved. |
48 | 48 | // If this function exists, it will be apply to every user not in the "none" bucket |
49 | 49 | "allActive": function(){ |
50 | | - if($j.cookie('acctcreation') ){ |
| 50 | + |
| 51 | + //track account creation attempts |
| 52 | + $j("#wpCreateaccount").click(function(){ $j.trackAction('submit-signup-data'); }); |
51 | 53 | |
52 | | - //track login attempt |
53 | | - $j("#wpLoginAttempt").click(function(){ $j.trackAction('login-attempt'); }); |
| 54 | + //this is the "don't have an account? CREATE ONE" link |
| 55 | + $j("#userloginlink").click(function(){ $j.trackAction('visit-signup'); }); |
54 | 56 | |
55 | | - //track account creation |
56 | | - $j("#wpCreateaccount").click(function(){ $j.trackAction('account-created'); }); |
57 | | - $j("#userloginlink").click(function(){ $j.trackAction('login-link'); }); |
58 | | - |
| 57 | + if($j.cookie('acctcreation') ){ |
59 | 58 | //add click tracking to preview |
60 | 59 | $j("#wpPreview").click(function(){ $j.trackAction('preview'); }); |
61 | 60 | |