|
|
@@ -71,21 +71,23 @@ html(itemscope, itemtype='http://schema.org/Product')
|
|
|
if (session && session.user)
|
|
|
script(type="text/javascript").
|
|
|
Countly.q.push(['user_details', {
|
|
|
- handle: '#{session.user._id}',
|
|
|
email: '#{session.user.email}',
|
|
|
+ custom: {
|
|
|
+ handle: '#{session.user._id}',
|
|
|
+ }
|
|
|
}]);
|
|
|
|
|
|
if (justRegistered)
|
|
|
script(type="text/javascript").
|
|
|
Countly.q.push(['add_event',{
|
|
|
key: 'user-registered'
|
|
|
- });
|
|
|
+ }]);
|
|
|
|
|
|
if (justLoggedIn)
|
|
|
script(type="text/javascript").
|
|
|
Countly.q.push(['add_event',{
|
|
|
key: 'user-logged-in'
|
|
|
- });
|
|
|
+ }]);
|
|
|
// End countly Analytics
|
|
|
|
|
|
script(type="text/javascript").
|