View Source Plausible.Stats.EmailReport (Plausible v0.0.1)
This module exposes a get/2
function that returns a map
of stats needed for email reports. These stats include:
- Total pageviews
- Unique visitors
- Bounce rate
- A list of Top 5 sources (excluding "Direct / None")
- A list of Top 5 pages
where total pageviews, unique visitors, and bounce rate also include the change compared to previous period.