4

I am trying to create a new dimension and a new segment to use in my new chart. After many attempts I found this article Create an interaction processor-

From this reference I did the following steps:

  • Create dimension class and table
  • Creating a dimension class
  • Creating a dimension table
  • Create fact class and table
  • Creating a fact class
  • Creating a fact table
  • Create an interaction aggregation processor class
  • Add processor to configuration

After it, I deployed the code and then I created my "By UserAgent" Flexible Dimension and create the Segment, as showed in the following figure:

By UserAgent Flexible Dimension

My UserAgentChart is configured this way

UserAgentChart - Data

In my dashboard I saw an error

enter image description here

Note: I know when I create a Segment I need to deploy and I need to way 30min, after this time the data start to be processed.

Are these steps correct? I am doing something wrong? Why I have an error?

UPDATE 1:

From logs i got this

ERROR [Experience Analytics]: SegmentProcessor failed to process interaction 'b1d329f5-1c8a-0000-0000-056780e07875' segment '3a60eaea-0ac5-42c7-947b-f5e53ea87bac' - System.InvalidOperationException: Dimension could not be resolved for for dimension id: 8dae1809-f370-4997-adf8-64107cee49a6 at Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.get_Dimension() at Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.GetData(IVisitAggregationContext context) at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(IInteractionAggregationContext context, IEnumerable`1 segments)

UPDATE 2:

New issue - why analytics were not stored?

  • If there is a server error, there should be exception in the log files. Can you see what it is? – Marek Musielak Oct 31 '18 at 19:18
  • Configuring the new Segment with Sitecore Rocks can be a bit tricky. This article explains how in a good level of detail. Did you follow those steps? linkedin.com/pulse/… – Emanuele Ciriachi Oct 31 '18 at 19:29
  • This is also a good read that deals with setting up the segment in the Dashboard through Sitecore Rocks: community.sitecore.net/technical_blogs/b/ramon-aseniero/posts/… – Emanuele Ciriachi Oct 31 '18 at 19:30
  • Just updated it with the log - this dimension is a flexibledimension and it is not a imension.... but It is not clear to me. – saramgsilva Oct 31 '18 at 21:46
  • Is {8dae1809-f370-4997-adf8-64107cee49a6} the new Dimension you created? Did you publish it? Did you patch the config at <sitecore><experienceAnalytics><aggregation><dimensions> with the ID and type of your Dimension? – Emanuele Ciriachi Nov 1 '18 at 9:44

Your Answer

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

Browse other questions tagged or ask your own question.