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

Process goal conversions for device data (type, brand, model) #10070

Merged
merged 3 commits into from Aug 31, 2016

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Apr 18, 2016

rebased #10026 for 3.x
(refs #9777)

@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Apr 18, 2016
@sgiehl sgiehl added this to the 3.0.0-b1 milestone Apr 18, 2016
$metrics->enrichMetricsWithConversions();
}

$report = $metrics->asDataTable()->getSerialized($this->maximumRows, null, Metrics::INDEX_NB_VISITS);
Copy link
Member

@tsteur tsteur Aug 30, 2016

Choose a reason for hiding this comment

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

I recommend to call here $table = $metrics->asDataTable(); ... serialize ...; Common::destroy($table); to reduce memory usage

@tsteur
Copy link
Member

tsteur commented Aug 30, 2016

Only needs a small change for the possible memory leaks. Otherwise feel free to merge after this change was made 👍

@sgiehl
Copy link
Member Author

sgiehl commented Aug 30, 2016

I've updated and rebased the branch. If the tests succeed, I'll merge it afterwards.

@sgiehl sgiehl self-assigned this Aug 30, 2016
@mattab
Copy link
Member

mattab commented Oct 30, 2016

@sgiehl there is now data on demo2 👍

Just noticed an issue: on demo2 at: https://demo2.piwik.org/index.php?module=CoreHome&action=index&idSite=1&period=month&date=today#?idSite=1&period=month&date=today&category=Goals_Goals&subcategory=1

report shows conversion rates for Unknown device type is higher than 100%:

device type conversion rate too high

@sgiehl
Copy link
Member Author

sgiehl commented Oct 31, 2016

Maybe that's a more general problem. Some keywords have more than 100%, as well.

image

Had a look at the goal, but it seems it should only be triggered once a visit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review 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.

None yet

3 participants