10

We are trying you create custom analytics reports but not able to show any data in charts.

Below are steps followed to create custom report,

  1. Created custom dimension and segment.
  2. Created custom filter and added rule "where the interaction started at the Home" and attached filter to segment.
  3. In core db, Added "ExperienceAnalyticsLineChart Parameters" under Audience "PageSettings" and added segments and metrics.
  4. In Sitecore rocks, Added Rendering "ExperienceAnalyticsLineChart" by right clicking on Audience and adding data source as "ExperienceAnalyticsLineChart Parameters".
  5. Deployed created segment.
  6. If we view the reports under "Audience", custom reports are not showing any data other than report title.

Please suggest me if any configuration or steps are required to make the custom analytics report work.

  • You maybe need to turn on historical reaggregation to see "old data" in your report -> doc.sitecore.net/sitecore_experience_platform/… or wait couple of minutes (By default, data collection starts 30 minutes after deployment.) for report to process your new data -> doc.sitecore.net/sitecore_experience_platform/… – Peter Procházka Jun 4 '18 at 7:08
  • thanks @PeterProchazka, even after doing above settings, I am not able to show data in custom chart. If I attach existing dimensions segment to custom char, we able to see the data, another thing what I noticed is, in build dimensions segments don't have filters attached to them. Is there registration required for custom dimensions. – Arunkumar B Jun 4 '18 at 11:41
  • @PeterProchazka please check the above comment – Arunkumar B Jun 21 '18 at 10:06
  • For which version of Sitecore is this? – Peter Procházka Jun 21 '18 at 16:17
  • @PeterProchazka, this is for sitecore-9.0.1 – Arunkumar B Jun 22 '18 at 4:07
0

You can use your existing dimensions and segments, just add relevant DimensionKeys to the chart (e.g., for a pattern match, add patternCard item id to the key rendering properties, without braces and dashes), and you can see that data will appear in the chart. this trick worked for me. enter image description here

0

You are absolutely correct, additional configuration is needed in addition to what you have described, if your custom dimensions has any code associated with it. Create an include file or use an existing one, add into "<sitecore>" section the following (put into appropriate places your dimension ID, full class name, and DLL the class resides at):


    <experienceAnalytics>
      <aggregation>
        <patch:attribute name="enabled" value="true"/>
        <logger type="Sitecore.ExperienceAnalytics.Core.Diagnostics.Logger, Sitecore.ExperienceAnalytics.Core" singleInstance="true"/>
        <!-- This section hosts the definitions of the Experience Analytics dimensions
            'id' attribute is the unique identifier and should match the ID of the corresponding dimension definition item in Marketing Control Panel
            'type' attribute references the fully qualified class name and assembly name with the dimension implementation.
        -->
        <dimensions>
          <dimension id="[dimension item ID]" type="[full class reference], [DLL name]" />
        </dimensions>
      </aggregation>
    </experienceAnalytics>

This will serve as a "registration" of your custom dimension, and Sitecore will "pick up" on it.

Good luck!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.