We are definitely calling the init() method first before calling getVisitorData but maybe it has more to do with NextJS SSR and hydration? We aren't using the react sdk because we need access to the client outside of the react rendering lifcycle for networking to add some headers to requests.