Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can check any tracking URL (ad impression, click, conversion, CAD) calling it in preview mode. A preview tracking request will be processed as closely as possible to the regular one. Some processing parts like the spider treatment have to be skipped. On the other hand, there are some additional checks such as the extended basket evaluation, especially in the preview mode.

No request processing results are stored or counted, so the same tracking URL can be called several times in preview mode. Processing results will be sent back as a JSON object containing all input parameters and calculated values like redirecting location URL and or processing error information.

Working with Preview Mode

...

  • params - all request parameters like amc

  • validated parameter values like normalized basket

  • request specific calculated values like click channel or best matching voucher id on conversions

  • redirecting location URL

  • error untracked_reason - object (on processing errorin case of Untracked) containing code, reason alias and optional message

  • attribution information on conversions

  • explanation of why a click is filtered out due to custom click filters

The error untracked_reason object is always present if processing was unsuccessful

...

Example:
x-preview-response: { "params" : { "bsk" : "{"pid":"X2HZA9W","prn":"Matratzenschoner weiss","pri":"22.64","qty":"1","trc":"MP"}" , "cid" : "B-R4D-ARF-YXY" , "csi" : "4fa728c5-fc92-46d4-be25" , "csn" : "true" , "ctg" : "NewCustomerVoucher" , "inv" : "31.94" , "orc" : "EUR" , "orv" : "22.64" , "pmt" : "paypal" , "sid" : "checkout" , "trc" : "basket" , "typ" : "f" , "uv1" : "4fa728c5-fc92-46d4-be25-7cfd72c36ca6"} , "real_request_type" : "ConversionEvent" , "request_subtype" : "Multi" , "response_content" : "<!DOCTYPE html><html><head><title></title><meta name="content-type" content="text/html; charset=UTF-8"></head><body></body></html>" , "erroruntracked_reason" : { "code" : 91 , "reasonalias" : "UnknownConversionTarget" , "message" : "unknown ctg <NewCustomerVoucher>"} , "tracking_category" : "basket"}

...