wintercms / wn-matomo-plugin

Integrates Matomo Analytics with Winter CMS
Other
4 stars 4 forks source link

Add support for server side tracking #1

Open LukeTowers opened 2 years ago

LukeTowers commented 2 years ago

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:

LukeTowers commented 2 years ago

Some options for dependencies to include:

To investigate further: rocramer/nova-matomo-analytics