dcsverbose parameter

The optional dcsverbose parameter is used to return a response containing detailed validation information.

Use the dcsverbose parameter to validate requests to the data collection server. dcsverbose can be used with both the Get Visitor ID method and the Post Event Data method to include validation data in the response.

dcsverbose is recommended for debugging during application development. Depending on the dcsformat setting for the request, responses have the potential to become extremely large. Because of this overhead, you should disable dcsverbose after you finish debugging and before you begin building your application for production use.

Sample Request: Failed Without dcsverbose (Text Format)

  POST /v1/asdf;lkjh/events.svc
  Content-Type: application/x-www-form-urlencoded 
  Content-Length: 111
  dcsuri=/Home&dcsua=My%20Client&WT.ti=My%20Home%20Page&WT.tz=-8&WT.cg=My%20Content%20Group&customparam=customval  

Sample Response: Failed Without dcsverbose (Text Format)

                    
  HTTP/1.0 400 Bad Request 
  Connection: close 
  Content-Type: text/plain
  Content-Length:  

Sample Request: Failed with dcsverbose (Text Format)

 POST /v1/asdf;lkjh/events.svc?dcsverbose=true 
  Content-Type: application/x-www-form-urlencoded 
  Content-Length: 111
  dcsuri=/Home&dcsua=My%20Client&WT.ti=My%20Home%20Page&WT.tz=-8&WT.cg=My%20Content%20Group&customparam=customval
  

Sample Response: Failed with dcsverbose (Text Format)

 HTTP/1.0 400 Bad Request 
  Connection: close 
  Content-Type: text/plain
  Content-Length: 91
  ERR_INVALID_DCS_ID 
  The following invalid hit was discarded 
  due to an invalid DCS ID:asdf;lkjh