useVisitors
useVisitors():
VisitorsSnapshot&Pick<Visitors,"interaction"|"event"|"ready"|"refresh"|"setConsent"|"forget"|"pageViewed">
The visitor’s current token and consent state, which re-render the component when they change, and the calls that change them.
Returns
Section titled “Returns”VisitorsSnapshot & Pick<Visitors, "interaction" | "event" | "ready" | "refresh" | "setConsent" | "forget" | "pageViewed">