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

Add support for server side tracking #1

Open
LukeTowers opened this issue Mar 1, 2022 · 1 comment
Open

Add support for server side tracking #1

LukeTowers opened this issue Mar 1, 2022 · 1 comment

Comments

@LukeTowers
Copy link
Member

LukeTowers commented Mar 1, 2022

As a fallback / configuration option it would be ideal to add support for tracking visits server-side. In addition to this the plugin should also include the recommended PHP dependencies for pulling data from Matomo and sending data to Matomo. Ideally it can also provide some helpers to make it easy to send custom analytics data to Matomo.

This could be handled by a middleware that plugins could also add to their routes if desired or it could be handled by a component that gets dropped on the page to enable or the current tracker component could handle it.

See

Some other features to consider:

  • Passing user (backend or frontend) information to Matomo
@LukeTowers
Copy link
Member Author

Some options for dependencies to include:

  • visualappeal/matomo-php-api
  • matomo/matomo-php-tracker

To investigate further: rocramer/nova-matomo-analytics

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

No branches or pull requests

1 participant