add anonymous ID everytime (#2398)

This commit is contained in:
Ahsan Virani 2021-11-03 10:42:54 +01:00 committed by GitHub
parent ebdd86a5f5
commit 2a164cab6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,7 @@ export class Telemetry {
this.client.identify(
{
userId: this.instanceId,
anonymousId: '000000000000',
traits: {
...traits,
instanceId: this.instanceId,
@ -138,6 +139,7 @@ export class Telemetry {
this.client.track(
{
userId: this.instanceId,
anonymousId: '000000000000',
event: eventName,
properties,
},