Closed kdawgwilk closed 6 months ago
Hi @kdawgwilk! I can think of two options:
data
from React SDK's useVisitorData
and stuff them wherever you want (window
object, some global variable, localStorage, etc...) in a useEffect
and pick them up from there when you need to.
I have a NextJS app but need to get access to the visitor data outside react components for networking purposes. What is the recommendation to get visitor data in an app using this SDK but needing to get this info outside of a react context?