The custom Dimensions and Segments I defined in Sitecore 8.1 are no longer working in Sitecore 9.1.

I successfully ran the xDB Data Migration Tool, but when I open my custom-defined graphs in the Analytics Dashboard I face the following Javascript error:

TypeError: Cannot read property 'on' of undefined

at ExperienceAnalyticsD3ChartBase.js:485. As it turns out, this is due to the chartModel (defined on ExperienceAnalyticsLineChart.js:27) being null:

this.app[this.model.get("name") + this.model.get("chartName")]

The default Analytics graphs don't have this problem, however I was unable to understand, by studying the definition of either Dimensions, Segments and Graphs, the root cause of this error - in particular, what portion of the frontend code is generating the Backbone Models that are later invoked in the above code.


Did anyone encounter the same problems, and if so how did they remedied? Has anyone successfully created a custom Dimension/Segment combination in Sitecore 9.1? Did you manage to migrate the xDB data of 8.1 custom Segments/Dimensions?

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.