analytics-next icon indicating copy to clipboard operation
analytics-next copied to clipboard

initialPageview causing duplicate page calls

Open plumber-dhaval opened this issue 3 years ago • 0 comments

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],
  );

plumber-dhaval avatar Aug 04 '22 04:08 plumber-dhaval

Hi @plumber-dhaval, I can't reproduce this one using the latest version of the library.

pooyaj avatar Aug 11 '22 15:08 pooyaj