matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.91k stars 2.65k forks source link

Ability to match Goal by Category, Action AND name #10133

Closed vercotux closed 11 months ago

vercotux commented 8 years ago

Currently it is only possible to specify 1 of the following 3 criteria, when adding a goal triggered on "Send an event":

There needs to be a way to set all 3 simultaneously, not only one.

tsteur commented 8 years ago

That would be a good new feature to have. In the meanwhile you can

1) trigger a goal manually http://developer.piwik.org/guides/tracking-javascript-guide#manually-trigger-goal-conversions 2) develop a custom plugin using PHP (it is already possible to do this in a plugin but would be a bit fragile and hard since the methods to do this are not a public API)

vercotux commented 8 years ago

Goal IDs are not ideal for this. They cannot be set manually in Piwik so they are very inconvenient to work with. The best way I found to overcome this is to rely on the event 'name'. Specify a unique name for every event and then trigger goals by matching event names. The only downside with this is that you can't link the event revenue to the goal revenue.

LeoniePhiline commented 2 years ago

This could be a great feature in 2022, what do you think?

mattab commented 11 months ago

Duplicates this: https://github.com/matomo-org/matomo/issues/10791