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.
First, we will create dimension and segment definition items:
Open the Content Editor, and select the
/sitecore/system/Marketing Control Panel/Experience Analytics/Dimensions/Visits
item. Create a newBy Browser Version
dimension item. This will automatically create a segment type child item,All
. Rename itAll visits by Browser Version
. Deploy this segment and publish both the items:On deploying the segment item, it will get added to the Segments table of the Reporting database, as shown in the following image. Find the segment...