Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem using two separated identify calls #393

Open
lucas-av7 opened this issue Jul 26, 2023 · 0 comments
Open

Problem using two separated identify calls #393

lucas-av7 opened this issue Jul 26, 2023 · 0 comments

Comments

@lucas-av7
Copy link
Contributor

lucas-av7 commented Jul 26, 2023

I have two plugins installed:

  • Google Analytics
  • Pendo (created by me)

I need to have two different calls to the identify method, one for google analytics and one for Pendo.

I make the first call using the following logic:

  plugins: {
    all: false,
    "google-analytics": true
  }

In the second call I'm using the following logic:

  plugins: {
    all: false,
    pendo: true
  }

Error:

It seems that Analytics stores the traits object in the local storage, so when I make the identify call for Pendo, it saves the treats in the local storage, if I refresh the page, the identify call for google analytics will send the Pendo treats to Google Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant