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.94k stars 2.66k forks source link

Goal URL as a new dimension #21833

Open peterbo opened 10 months ago

peterbo commented 10 months ago

It'd be great to have a Goal URL report in the Goal reports and the Custom Reporting.

Summary

Goals are a session based attribute. However, For most of use-cases, it is very interesting, on which Page-URL, a goal was ultimately triggered. The "new" Page URL dimension in the goal reports is not exactly, what people think it is (so the confusion is always huge). The current Page URL Report in goals is just an attribution, not really the place of a goal conversion (what users expect it to be).

Your Environment

sgiehl commented 10 months ago

Hey @peterbo,

thanks for this suggestion. The log_conversion table actually already has a idaction_url dimensions, which might store the page url the goal was triggered on. But I'm actually not sure if that works in all cases or if that is only done for goals triggered automatically. Anyway, I guess this change might be possible without any database changes, which would make it possible outside of a major release. I'll pass this to our product team, to consider this for future improvements :-)

Chardonneaur commented 10 months ago

Cannot we set a custom dimension at the action level when the goal is firing?

peterbo commented 10 months ago

@Chardonneaur this is not supported (yet), see https://github.com/matomo-org/matomo/issues/16147 (only visit scope custom dimensions)