When a dimension implements a goalConversion
method, automatically set Report::hasGoalMetrics
#10039
Labels
answered
For when a question was asked and we referred to forum or answered it.
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
Our platform goal is to make it as easy as possible for developers to use features like Goals. So far, in a report, a developer needs to set
$this->hasGoalMetrics=true
when the dimension defines goal metrics. However, we could likely detect this automatically if the associated dimension implements egonAnyGoalConversion
. See https://github.com/piwik/piwik/pull/10026/files#r59276336The text was updated successfully, but these errors were encountered: