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
Add option to track only website urls #8345
Conversation
There is a diff in UI tests that I can't understand: Anybody have ideas why views count on map is changed if all Unit and System tests are passed? Can I push that screenshots as correct? |
@barbushin I wrote about this issue in #6693 (comment) - @diosmosis will investigate it in coming days, but he's busy working on Funnel plugin, so if you want to try to investigate this random failure, you're welcome to |
static function getSql() | ||
{ | ||
$updateSql = array( | ||
'ALTER TABLE `' . Common::prefixTable('site') . '` ADD COLUMN `exclude_unknown_urls` TINYINT(1) DEFAULT 0 AFTER `currency`' => array(1060) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getSql() was deprecated in 2.12.0 - use getMigrationQueries() instead
See example of new use case in https://github.com/piwik/piwik/blob/master/core/Updates/2.14.0-b2.php#L25-24
Ideally we would update all old core/Updates/* to have consistent use of this new function (feel free to do it in new PR if you want)
@mattab Can you tell me if this exclusion should be enabled by default or not? Seems like it would be useful to enable it by default. |
…ion/ApiTest to most recent naming convention.
30e55b6
to
ddedd73
Compare
…ture so it will be tested in system tests.
May I suggest we modify the title of this ticket? Right now I think no one would be able to guess what it really adds. The original #588 title was way more descriptive. Maybe change for : Thanks @barbushin and all for making Piwik less prone to stats poisoning ! |
Fixes #588, add option to ignore actions w/ URLs that are not for the website during tracking.
Closes #588