analytics-next
analytics-next copied to clipboard
initialPageview causing duplicate page calls
when using analytics-next with react if initialPageview is true page() fires twice in segment debugger.
const analytics = useMemo(
() => AnalyticsBrowser.load({ writeKey }, { initialPageview: true }),
[writeKey],
);
Hi @plumber-dhaval, I can't reproduce this one using the latest version of the library.