commit
32e90e1fa5
1 changed files with 0 additions and 14 deletions
|
@ -53,20 +53,6 @@ function(ApiService, CookieService, $rootScope, Config) {
|
|||
}
|
||||
}
|
||||
|
||||
if (window.olark !== undefined) {
|
||||
try {
|
||||
olark('api.visitor.getDetails', function(details) {
|
||||
if (details.fullName === null) {
|
||||
olark('api.visitor.updateFullName', {fullName: userResponse.username});
|
||||
}
|
||||
});
|
||||
olark('api.visitor.updateEmailAddress', {emailAddress: userResponse.email});
|
||||
olark('api.chat.updateVisitorStatus', {snippet: 'username: ' + userResponse.username});
|
||||
} catch (e) {
|
||||
window.console.log(e);
|
||||
}
|
||||
}
|
||||
|
||||
if (window.Raven !== undefined) {
|
||||
try {
|
||||
Raven.setUser({
|
||||
|
|
Reference in a new issue