This section describes how to parse a DCS response to retrieve the visitor and region IDs required to make real-time calls to the DCS.
A DCS response contains data about your site visitors. You need the visitor and region ID before you can make server-to-server calls to the DCS.
These parameters are described below. Code in italics represents a variable placeholder.
Parameter | Data type | Example |
---|---|---|
|
String |
|
|
Int |
|
This simple response shows the UUID
and region ID
. Note, this is sample data only. Your log files may be longer and more complex.
{
"stuff": [],
"uuid": "22920112968019678612904394744954398990",
"dcs_region": 7,
"tid": "31ZpxW5bQGc="
}
Once you have the user ID and regional server name, you can start sending and receiving DCS data. See Making DCS API Calls.