Qubit's IP Address API returns the public IP address of the visitor making a request.
Before using the Counters API, you will require the following unique values:
Name | Description |
---|---|
| Qubit Tracking Id for the property the request is made from. This will be provided by your CSM |
| Unique site visitor Id, generated by the smartserve script on the page and is set in the cookies qb_permanent and qbTracker |
To get the IP address of the current user, make a GET request to the following URL:
https://orca.qubitproducts.com/misc/ip?cid=<visitor_id>&id=<tracking_id>
{
ip: "86.13.100.143",
sysTime_ms: 1441232732044
}