New Visit not creating after refresh the page in Matomo React application

Hello Team,
We are integrating Matomo into React application, using this npm https://www.npmjs.com/package/@datapunt/matomo-tracker-react which are available in matomo site integrate (https://matomo.org/integrate/).
Page tracking is working but the new visit is not working, if reload the page still, it’s taking the same visit only, and the new visit not creating.

This is the line of code:
pushInstruction(‘appendToTrackingUrl’, ‘new_visit=1’).

@Lukas, Could you please help with this.
@siva538

Thanks
Sampath

@Lukas, any update, please.

@siva538

Thanks
Sampath

Hi,

Maybe that integration is doing something with the tracking URL that interferes with that function:

Maybe ask them directly at https://github.com/Amsterdam/matomo-tracker/issues