@hpvd opened this Issue on November 12th 2015

Possibility to give visits a "type" like:

  • "standard"
  • "deleted"
  • "bot"
    -...

With this one can keep every visit always in database but can
easily decide (filter) for each type of visit being

  • visible
  • considered within statistic

This should be the better, more general way to achieve all advantages from
https://github.com/piwik/piwik/issues/9184

This is the basic for
1) Delete function and being able to have an "undo function" (https://github.com/piwik/piwik/issues/3385 and https://github.com/piwik/piwik/issues/9204)
With this the action "deleting" is only a change of type from standard to deleted
And undo is simply changing type from "deleted" back to "standard".
2) Simplifying bot tracking https://github.com/piwik/piwik/issues/9067
every bot got the "type" "bot"

@hpvd commented on November 12th 2015

to making undo easily possible one could e.g store a second type for each visit "was before type"
so one can easily revert any change by looking into this visit field

@hpvd commented on November 13th 2015

from technical pov this could be somehow related to https://github.com/piwik/piwik/issues/8161

@mattab commented on November 18th 2015 Member

Thanks for suggestion @hpvd - I think it duplicates #9184 - feel free to post comment there if needed

This Issue was closed on November 18th 2015
Powered by GitHub Issue Mirror