How to use JS with PHP API?

Hey there, I’m successfully tracking visits using both JS and PHP API - however, the page visit is counted twice for each user.

I found some old topics on this issue that are from years ago, and was hoping to find some up-to-date info.

It looks like this can be fixed with use of cookies?

Thanks,
Kahl

That’s by design, currently we don’t de-duplicate visits. Feel free to comment on the issue tracker in the related issue to bump it up