1
Fork 0
Report on pages from Plausible, giving more data than their CSV reports allows
Find a file
2023-05-05 11:44:01 +01:00
.gitignore Output results to CSV 2023-05-04 09:12:45 +01:00
README.md Add project README 2023-05-05 11:44:01 +01:00
report.py Add project README 2023-05-05 11:44:01 +01:00
requirements.txt Init a script 2023-05-04 09:03:13 +01:00

Plausible Page Report

Create a CSV of all page views by URL. Plausible has a page stats export, but this silently limits itself to the 100 most viewed pages. It does however have an API.

Usage

Create an API key, and export it as $PLAUSIBLE_API_TOKEN

python3 report.py <hostname>

If you run your own Plausible instance (like me), set $PLAUSIBLE_HOST.