Reputation: 16738
I'm quite new with Sitecore 8 Experience Analytics, and I cannot find much documentation about customizing the module. I've come to a task to make Sitecore Analytics somehow similar to Google Analytics, and one of them is to report how many unique users have browsed the site during a period of time (say last month or last week).
I'm planning to put in ExperienceAnalyticsListControl, but not sure how. From my research, the columns of this ListControl are generated based on Data Source. But its data source is pointing to another page! I'm completely confused at this step. For example, the /sitecore/client/Applications/ExperienceAnalytics/Dashboard/Audience/Locations/Countries has a ListControl that has datasource = /sitecore/client/Applications/ExperienceAnalytics/Dashboard/Audience/Locations/Countries/PageSettings/All countries
, which in turn has TargetPage = /sitecore/client/Applications/ExperienceAnalytics/Dashboard/Audience/Locations/Countries/PageSettings/Country (which is another page that can be viewed by typing it URL in the browser)
My questions are:
How can I add another column to ExperienceAnalyticsListControl
How can I add another metrics name "Unique visitors" and display the total number of it in the new column. I'm aware of the filter on top of each page that allows us to filter the data of all renderings based on a specific time span.
Upvotes: 1
Views: 1622
Reputation: 31
Currently Experience Analytics does not allow for extending the list of metrics. The underlying API and datamodel assumes you will only store these seven:
(...and some calculated ones such as bouncerate : Bounces/Visits)
I see two feasible routes to solve your problem
<dimensions>
tags in showconfig.aspx) and the ID of your new dimension item. Either way, you need to consider what unique visitors means to you. Option one would give you unique visitors per day, but would not be able to tell you how many were unique over an arbitrary time range. e.g. if you have 1.000 unique visitors per day for 10 days you have somewhere between 1.000 and 10.000 unique visitors in that time range, but that's difficult to answer without going back to examine every interaction again.
Upvotes: 3
Reputation: 16738
Martin is right. There is no way to extend the current Sitecore Analytics metrics.
I ended up create a custom Fact table to store the ContactId (retrieved from MongoDB API) and use Martin's option 2 to extend SPEAK to display report from the new Fact table.
Storing both ContactId and Date in one Fact table will allow us to use the built-in date filter.
Upvotes: 0