This commit is contained in:
Sacha Greif 2014-12-13 16:29:31 +09:00
parent 1eb72079b4
commit 512cc7707d
2 changed files with 6 additions and 1 deletions

View file

@ -51,7 +51,7 @@
"extraCode": "Extra Code",
"emailFooter": "Email Footer",
"notes": "Notes",
"debug": "Debug Mode"
"debug": "Debug Mode",
// Settings Fieldsets
"general": "General",

View file

@ -1,4 +1,7 @@
Accounts.onCreateUser(function(options, user){
// ------------------------------ Properties ------------------------------ //
var userProperties = {
profile: options.profile || {},
karma: 0,
@ -45,6 +48,8 @@ Accounts.onCreateUser(function(options, user){
clog('// User object:')
clog(user)
// ------------------------------ Analytics ------------------------------ //
trackEvent('new user', {username: user.username, email: user.profile.email});
return user;