Overview
The Event Inspector allows you to review the information sent to your account via the Zaius APIs. If you are expecting certain information, then this is the easiest way to confirm whether or not it is being sent and processed correctly.
Start the Inspector
To access and start the inspector:
- Select Account Settings
from the main navigation bar.
- Select the Event Inspector option from the sub-menu that appears on the subsequent page.
- Select the Start Inspector option.
Once you click Start Inspector, your API calls will get recorded for up to 15 minutes and be made visible in the inspector's results area by clicking Refresh.
JSON formatted events like the example below will appear:
{\"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\"}
After refreshing the page and loading the desired timeframe of events, you can end the inspector's collection of events at any time by selecting the Deactivate Inspector option. Additionally, if you see too many records coming through, you can change the Rows dropdown menu from 1,000 to 100, 25, or 10.
Troubleshoot Events
The information coming into Zaius will often be customer-specific. As a result, any testing typically involves specific internal users acting as customers. To locate the unique Zaius VUID of these test customers so that troubleshooting your events is a bit easier:
- Have the test user visit your website and right-click anywhere on a page.
- In the dropdown menu, select Inspect Element or Inspect. A toolbar will appear.
- Click the Console tab.
- Click into the console area, input zaius.VUID, and hit enter.
- Copy this VUID, remove the hyphens, and search for it in the Event Inspector using CMD-F on Mac or CTRL-F on PC.
- After locating an event, you can learn more about it by reviewing its status (e.g., Valid) and by selecting the View Details option.