Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit segmenting by order ID #14316

Merged
merged 10 commits into from Apr 24, 2019
Merged

Permit segmenting by order ID #14316

merged 10 commits into from Apr 24, 2019

Conversation

katebutler
Copy link

@katebutler katebutler commented Apr 5, 2019

Fixes #9981

@diosmosis diosmosis added this to the 3.11.0 milestone Apr 7, 2019
@diosmosis diosmosis added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Apr 7, 2019

public function configureMetrics(MetricsList $metricsList, DimensionMetricFactory $dimensionMetricFactory)
{
$metric = $dimensionMetricFactory->createMetric(ArchivedMetric::AGGREGATION_UNIQUE);
$metric->setName("ecommerce_order_id");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@katebutler do you remember if the name was needed? Changing the name of existing metrics may break existing custom reports that have the old metricId assigned.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tsteur Turns out it's not needed, have removed it

@tsteur
Copy link
Member

tsteur commented Apr 8, 2019

Left a comment, otherwise worked for me. 👍

@tsteur
Copy link
Member

tsteur commented Apr 16, 2019

@katebutler this test seems to fail: https://travis-ci.org/matomo-org/matomo/jobs/517626504#L832

this one too which is maybe related to the order that we are now tracking and should be an expected change I reckon: https://travis-ci.org/matomo-org/matomo/jobs/517626504#L811

The UI tests stopped running in the middle of the test. Restarted the tests and hoping it completes. I suppose there might be a few screenshot tests to update. Can show you tomorrow how to do it.

Seems otherwise good to merge except for the tests that need to be updated.

@tsteur
Copy link
Member

tsteur commented Apr 23, 2019

@katebutler just fyi here's a test that needs to be fixed: https://travis-ci.org/matomo-org/matomo/jobs/517626504#L811-L825

The test fails now correctly and we only need to update the values

@tsteur tsteur merged commit 79ae22a into 3.x-dev Apr 24, 2019
@tsteur tsteur deleted the 9981 branch April 24, 2019 00:08
@mattab mattab modified the milestones: 3.11.0, 3.10.0 May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New segment 'ecommerceOrderId' to select a particular Ecommerce Order ID
4 participants