Skip to content

Commit

Permalink
Fix intercom ID bug (#17)
Browse files Browse the repository at this point in the history
* Update ID

* version
  • Loading branch information
michielderoos authored Jul 18, 2022
1 parent c436c00 commit aae6aec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sagas/authSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,9 @@ function* getVersionAndLocale() {
}

function setFirebaseAnalyticsTracker(token_response) {
const userId = token_response.user_id.toString();
const userId = token_response.user_id.toString()+'-mobile-'+token_response.deployment_name.toString();
const androidHash = token_response.android_intercom_hash;
const name = token_response.first_name + ' ' + token_response.last_name;
// const deploymentName = token_response.deployment_name.toString();

if (token_response.terms_accepted) {
// Setup User Id for Google Analytics
tracker.setUserId(userId);
Expand Down

0 comments on commit aae6aec

Please sign in to comment.