I’m trying to develop a plugin that adds some goals when activated, but I can’t find any ‘hooks’ for the event activate. I don’t want addGoal to be called each time a piwik page is laoded, but only when my plugin gets activated.
Any idea how this can be done?