matomo-org / matomo-org/plugin-CustomAlerts
Link Custom Alerts with Segments
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 17
- Forks
- 24
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 7
Description
Hi,
Currently custom alerts are supporting only 1 condition.
For example, if we want to be alerted when a visit coming from a specific campaign reached a goal... we cannot know that.
One way to do it (this is what Google Analytics is doing) is to support segments within the alert.
As a result it will be possible to amplify the custom alerts possibilities. For example the segment include only the visits from a specific campaign, then the condition of the alert is the goal report, when the number of visits is higher than 1 then fire the alert.
Do you think it is feasible?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not identify any files, tests, or entry points, so first map how Custom Alerts currently represent a single condition and how Matomo segments are exposed. Done means defining and implementing segment-aware custom alerts, including the campaign-and-goal example, with tests covering the combined filtering and alert condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100