flamarkt/matomo

Connect Flarum with Matomo analytics

Installs: 611

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Language:TypeScript

Type:flarum-extension

0.1.0 2022-04-01 00:53 UTC

This package is auto-updated.

Last update: 2024-10-29 06:19:09 UTC


README

Connects Flarum and Flamarkt to a Matomo Analytics server.

This extension can be used with or without Flamarkt installed.

Installation

This extension will follow the future Flamarkt release cycles with possibly a few major 0.x versions during the beta. While this extension probably won't experience any significant change, manual operations might still be required between major versions. For this reason I recommend using the ^ requirement (that's what the command below will use) and not *, so you don't accidentally update without reading this README in the future.

composer require flamarkt/matomo

Features

Pages

The extension tracks initial page loads as well as navigation inside the Single Page App.

Additional logic is provided to correctly track page titles. For those pages the tracking happens only after Flarum applies the title to the page instead of immediately after the first render of the component.

Events

The following events are tracked:

Search

The search term is tracked every time a search is performed via Flarum search bar, even if the search page is not open.

Outlinks

Outlinks are tracked on most pages and post content.

E-Commerce

Will integrate with Flamarkt in a future version.

Support

This extension is actively supported. Please use the Flarum Discuss discussion to discuss features and report issues.

Please only create GitHub issues for bugs with reliable reproduction steps.