mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Make Countly track by internal ids.
This commit is contained in:
parent
8e2475afdc
commit
7a3d3d3ffd
1 changed files with 4 additions and 1 deletions
|
@ -70,10 +70,12 @@ html(itemscope, itemtype='http://schema.org/Product')
|
|||
|
||||
if (session && session.user)
|
||||
script(type="text/javascript").
|
||||
Countly.q.push(['change_id', '#{session.user._id}', true ]);
|
||||
|
||||
Countly.q.push(['user_details', {
|
||||
email: '#{session.user.email}',
|
||||
custom: {
|
||||
handle: '#{session.user._id}',
|
||||
userId: '#{session.user._id}',
|
||||
}
|
||||
}]);
|
||||
|
||||
|
@ -85,6 +87,7 @@ html(itemscope, itemtype='http://schema.org/Product')
|
|||
|
||||
if (justLoggedIn)
|
||||
script(type="text/javascript").
|
||||
|
||||
Countly.q.push(['add_event',{
|
||||
key: 'user-logged-in'
|
||||
}]);
|
||||
|
|
Loading…
Reference in a new issue