Skip to content
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

New Widget for goals #52

Open
maslme opened this issue Jun 19, 2024 · 3 comments
Open

New Widget for goals #52

maslme opened this issue Jun 19, 2024 · 3 comments
Labels
question Further information is requested

Comments

@maslme
Copy link

maslme commented Jun 19, 2024

Describe the solution you'd like

A widget like known from the matomo dashboard for viewing the matomo goals.

Additional context

In my case, I've added some goals like "clicking on email-link", "clicking on phone-link", "submitting a form". It would be great to see in the TYPO3 dashboard how many goals have been reached in this month. Additionally it could be shown how many goals had reached in the month before.

@brotkrueml brotkrueml added the question Further information is requested label Jun 19, 2024
@brotkrueml
Copy link
Owner

@maslme Thanks for the feature request.

At first glance on the API there may be two API calls which can be used:

https://demo.matomo.cloud/?module=API&method=Goals.getGoals&idSite=1&format=json&token_auth=anonymous
Get combined metrics for all goals

https://demo.matomo.cloud/?module=API&method=Goals.getGoals&idSite=1&segment=idGoal&format=json&period=day&date=yesterday&token_auth=anonymous
Get some metrics per goal

Question is now: which metrics are most valuable? I don't use goals currently.

Also mind: The widgets are meant only for a quick overview, not for a deep analysis. The analysis should be done in Matomo itself.

@maslme
Copy link
Author

maslme commented Jun 20, 2024

I'm not sure which API call would be the right one - I've had a look at https://developer.matomo.org/api-reference/reporting-api and there are in the chapter API Response: Metric Definitions the value nb_conversions (Number of goal conversion). Just the number for this month or as a little graph for the last few months would be great.

@rbinder
Copy link

rbinder commented Oct 28, 2024

+1 for a general goals widget ("combined metrics for all goals" will be fine for that kind of widget, imho).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants