Detecting unique visitor with _id

Hi,

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

I basically send a request like this:
/piwik/piwik.php?apiv=1&idsite=1&rec=1&_id=00005af3b00a3f4d&idgoal=1&rand=e9747b86-d671-469b-9f54-5e6be75cd2c0&url=some_url

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.