Detecting unique visitor with _id


I am trying to track visitor via the REST API using Java.

I basically send a request like this:

This works fine this correctly creates a visitor however when changing the _id to something else doesn’t trigger a new visitor.

Any idea how to prevent Piwik to keep using the IP address and rather this value?

Thank you

Yes you can force visitors to use the _id to create a new visitor, check out this FAQ: How to - Analytics Platform - Matomo

Thank you that worked perfectly, I somewhat missed that one.when reading the subjects on the FAQ.