SiteSpect Debug Mode

By sending a custom request header and value, any routed responses will get comprehensive debug information appended to the bottom of the page.

Please contact SiteSpect to get the custom header and value.

Uses

  • See what SiteSpect objects applied to troubleshoot a client problem
  • Understanding what the CDN is doing in front of SiteSpect
  • Verifying personalization features are functioning as expected
  • Showing the client what headers are getting proxied to the origin

Fields

  • Request Time - The time the request was received by SiteSpect.  Both long data form and epoch time are given.

  • Request URL - The URL that was requested.  There are times where the cdn in front of us changes the URL.

  • Request Method - The HTTP method for the request.

  • Request Aborted - Did the client in front of SiteSpect abort the request.  Typically catches someone hitting the "stop" browser button.

  • HTTP Response code from Origin - The HTTP response received from the origin (behind SiteSpect).

  • TC_ID:VG_ID pairs - The test campaign ID / variation group ID pairs for this particular user.  Each pair has a colon (':') separating the values and pairs are separated by commas (',').

  • GUID - The SiteSpect GUID for this request.

  • Timings for Hit Objects -Shows the SiteSpect objects that got applied on this request.  The format is SiteSpect ID, object type and then number of cpu seconds it took to apply.  The order is based on when the object applied except for campaign variations which always appear at the end of the list (sorry).  Helpful links for finding the objects in the control panel:

    • SV (Site Variations) - /SiteVariation_One?Site_ID=*SITE_ID*&Variation_ID=*ID*
    • CV (Campaign Variations) - /SiteVariation_One?Site_ID=*SITE_ID*&Variation_ID=*ID*
    • RP (Response Point) - /Responsepoint_One?Site_ID=*SITE_ID*&Responsepoint_ID=*ID*
    • Control (Control Variation) -
    • Variation (Variation within a Factor) - /Variation_One?Site_ID=*SITE_ID*&Variation_ID=*ID*
    • QC (Quick Change) - /Variation_One?Site_ID=*SITE_ID*&Variation_ID=*ID*
  • Headers Start - The request headers we received from the client.  Typically, the headers are from the CDN in front of us.

  • Headers Middle - The request headers we sent to the origin (backend) and the response headers we received from the origin.  SiteSpect can manipulate the request headers sent to the origin (X-Forwarded-For, origin factors, request headers feature on site identity page, etc)

  • Headers End - Near the end of SiteSpect processing, the request headers we sent to the origin (should match what appears in 'Headers Middle') and the response headers that SiteSpect will respond to.  Changes to Cache-Control, SiteSpect cookies, origin factors will appear here.  Response headers feature on the site identity page will not appear here (as they are applied later in the apache cycle).

  • AUV Object - A perl dump of the ActiveUserVisit object within the codebase.  The ResponsepointHits_List and SiteVariationHits_List have been removed as they can the regex-es that applied on the page and we didn't want our clients competitors somehow seeing this info (think optimizely spy bookmarklet).  Most of the time, this dump will be useful to send Dev to help troubleshoot application bugs.  I wanted to call out the following things that will be useful to everyone:

    • UserType
      • 0 = we have not yet injected the robot test for this user
      • 1 = we have injected the robot test for this user
      • 2 = we got a robot test response from the user and there were no SiteSpect cookies
      • 3 = we got a robot test response that looks good. They are NOT a robot!
      • 4 = robot test is off for this client
      • 5 = we have been instructed to ignore the robot test for this user. This is typically a native mobile app user and we have configured a header name / value to skip the robot test.
    • UserIsRobot - If 1, SiteSpect thinks this user is a bot.
    • TestCampaign_Hash -> AsmtCounted - What campaigns this user is counted in.
    • BaselineRPHitHistory - Data structure that shows info regarding Metricss used for personalization.
    • CustomVariableList - Data structure that shows info regarding custom variables used for personalization.