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

Fix #44 #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix #44 #51

wants to merge 2 commits into from

Conversation

soerenengels
Copy link
Contributor

@soerenengels soerenengels commented Sep 5, 2024

This pull request changes the $site->childrenAndDrafts()->find($uri) call in the filterPageMetrics method to $site->index()->find($uri) to find nested children pages. It also adds the flat query filter to the GET request scheduled in the apiPageMetrics method.

Therefore nested child pages (e.g. /posts/example-post-page) can display their Matomo stats in the matomo-page section. May fix #44

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

Successfully merging this pull request may close these issues.

Page widget does not seem to show any existing tracking data
1 participant