Visitor is tracked under wrong account id

We have couple of visitors where we haven't passed any account id associated with them, but they are added under an account id which they don't have any relation

This is how my pendo code in google tag manager

var pendoInitObj = {
      visitor: {
        id: userId
      }
    }
    if (companyId) {
      pendoInitObj.account = {
        id: companyId
      }
    }
   console.log('data send to pendo', pendoInitObj);
    pendo.initialize(pendoInitObj);

This is what actually getting passed

{
  "visitor": {
    "id": "auth0|64997a5766c8bdd7401d7b66"
  }
}

 

 

0

Comments

1 comment
  • I've got 10s of users like this too.

    How do we fix this?

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post