Use the Event Inspector

  • Updated

Use the Event Inspector to review the information sent to your account from the Optimizely APIs for accuracy. You can also troubleshoot data as it comes into Optimizely Data Platform (ODP) Lite, since data updates result in underlying events.

Although ODP Lite processes customer and object updates as events, the application does not store these events.

Access and use the inspector

To access and start the inspector:

  1. Go to Account Settings > Event Inspector.
  2. Click Start Inspector. The inspector records your API calls for up to 15 minutes.

    mceclip0.png

  3. Click Refresh to see the results.

    mceclip2.png

  4. Click Deactivate Inspector to end the inspector's collection of events after refreshing the page and loading the desired timeframe of events. If you see too many records, adjust the number of rows that display using the Rows drop-down list.

Example

JSON-formatted events display:

{\"customer_id\":\"12345\",\"event_type\":\"shop\",\"tracker_id\":\"yfwfhfhewufkj\", \"ts\":1452177429,\"ip\":\"127.0.0.1\",\"ua\":\"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11\"}

Troubleshoot events

The information coming into ODP Lite is often customer-specific. As a result, any testing involves specific internal users acting as customers.

Locate the unique ODP Lite VUID of these test customers to make troubleshooting your events easier:

  1. Have the test user visit your website and right-click anywhere on a page.
  2. Select Inspect Element or Inspect.
  3. Click Console.
  4. Input zaius.VUID and press enter. Locate_VUID.gif
  5. Copy this VUID, remove the hyphens and search for it in the Event Inspector using CMD-F on Mac or CTRL-F on PC. Event_example.png
  6. Click View Details to learn more about an event.