ip and user_id fields are present.
How the flow works
- For anonymous users send an
ipwithout anyuser_id:{“ip”: “XXX.XXX.XXX.XXX”} -> price1 - The
ipis now tied to the above price. When a user converts and theiruser_idis known, send both theiripanduser_id:{“ip”: “XXX.XXX.XXX.XXX”, “user_id”: “user1”} -> price1 - After the above call, the user will be tied to
price1. Requests with onlyuser_idwill now always be tied to the same price and any anonymous users visiting with the sameiplikewise.