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

Fix pageview metric so it doesn't include events #12700

Merged
merged 5 commits into from Apr 10, 2018
Merged

Conversation

mattab
Copy link
Member

@mattab mattab commented Apr 6, 2018

Bug description:

At start, we're seeing as expected: 2 pageviews, 2 total events, 2 visits.
Click on the "Favourites" button which triggers an event. then I see: 3 pageviews, 3 total events, 2 visits --> Should only be 2 pageviews, not 3.

@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review labels Apr 6, 2018
@mattab mattab added this to the 3.4.1 milestone Apr 6, 2018

public function configureSegments()
{
}
Copy link
Member

Choose a reason for hiding this comment

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

Is this method needed? Think it can be removed unless we want to disable the use of segmentName for any derived classes.

Copy link
Member

Choose a reason for hiding this comment

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

FYI, can fix myself if not needed.

Copy link
Member

Choose a reason for hiding this comment

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

it is to not define segments for this again. otherwise will be auto generated

@diosmosis diosmosis merged commit 7ae0af6 into 3.x-dev Apr 10, 2018
@diosmosis diosmosis deleted the fixpageviewmetric branch April 10, 2018 01:22
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
* remove pageviews dimension

* add pageview metric again

* Add quick comment to LinkVisitActionIdPages::configureSegments().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants