What is the difference between pendo.initialize() vs pendo.identify() ?
I looked a the docs Pendo Functions and found pendo.identify() I'm a bit confused about its use case and difference with pendo.initialize(), when should we use one or the other?
2
Comments
Hey Daniel -
The initialize() function starts up the Pendo agent. Initialize is required when starting Pendo tracking and sets up the visitor object for tracking. This visitor can be anonymous (pre login) or a known visitor (post login).
Identify() will update the agent on who is using the app at any given time after initialization. Identify is used when swapping visitors for Pendo tracking, commonly used for moving from an anonymous visitor to an identified visitor in the login method in an app.
Both can be used to update visitor metadata.
This is really helpful, Doug, thank you!
Please sign in to leave a comment.