Aggregating xDB data to generate custom reports

The Sitecore analytics framework allows developers to extend and create custom reports as per their business need using the available xDB data, just like in the Experience Analytics dashboard.

Segments and dimensions are useful in identifying how and which data to aggregate from xDB. In this recipe, you will learn aggregating data based on visitors' browsers, which can be used to generate different reports.

How to do it…

First, we will create dimension and segment definition items:

  1. Open the Content Editor, and select the /sitecore/system/Marketing Control Panel/Experience Analytics/Dimensions/Visits item. Create a new By Browser Version dimension item. This will automatically create a segment type child ...

Get Sitecore Cookbook for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.