Re-Initializing When a User Toggles Between Multiple Accounts

Comments

1 comment

  • Avatar
    Alisyn Collins

    It sounds like that turbolinks event is leaving you with a cached version of the page, including the previous visitor information.  I'd suggest adding in an identify() statement to go along with that account change.  You can see that described here.  Another thing to keep in mind is that if you have any guides that rely on the new account information, you'd also want to add in a loadGuides() command.  

    Hope this helps!

    0
    Comment actions Permalink

Please sign in to leave a comment.