Query Events in the Sitecore Analytics Database

In this article

Knowing how to query page events directly in the Analytics database can be useful to validate that events coming from a Coveo Search Interface are correctly logged.

Querying xDB Page Events

  1. Download and install Robomongo.

  2. Open Robomongo and connect to localhost.

  3. Look for the Interactions collection in the analytics database. Double-click it and you should get a list of documents.

  4. By default, the documents are ordered by ascending date of insertion. Expand one of the latest documents; you should see a number of properties there. Expand the Pages array.

  5. Expand one of the Pages element. You should get an array of PageEvents. Expand this array to see the page events that have been logged.

What's next for me?