Creating section-specific analytics reports using custom dimensions

In previous recipes, you learned how to create simple dimensions, where every interaction in a visit had a common key to aggregate browser details. In this recipe, you will learn how to create dimensions where interactions in each visit can have different keys. We will consider an example of creating a detailed report based on website sections, where a visitor can visit pages from different sections of the website in a visit.

How to do it…

First, we will create dimension and segment definition items:

  1. Create a new segment and dimension in the /sitecore/system/Marketing Control Panel/Experience Analytics/Dimensions/Pages item, as shown in the following image. Now deploy this segment: ...

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.