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

Feature/matomo #1753

Merged
merged 7 commits into from
Feb 13, 2025
Merged

Feature/matomo #1753

merged 7 commits into from
Feb 13, 2025

Conversation

lukavdplas
Copy link
Contributor

Adds configuration for analytics using matomo.

  • This will import matomo modules if the application environment includes a matomo configuration.
  • This includes page tracking, with a custom interceptor to remove query parameters. So we see the visits for a corpus, but not the queries that users enter.

Comment on lines +9 to +10

tracker.setReferrerUrl('');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tracker.setReferrerUrl('');
// hide the referral URL and sanitize the event URL because they contain query parameters
tracker.setReferrerUrl('');

@lukavdplas lukavdplas merged commit cf530a4 into develop Feb 13, 2025
1 check passed
@lukavdplas lukavdplas deleted the feature/matomo branch February 13, 2025 16:26
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.

2 participants