Skip to main content

Matomo

Web Source code Package Beta

Matomo is an open-source, privacy-focused web analytics platform that works self-hosted or in Matomo Cloud. This destination forwards walkerOS events to Matomo via the _paq command queue with support for page views, custom events, ecommerce, goals, site search, content tracking, and custom dimensions.

Where this fits

Matomo is a web destination in the walkerOS flow:

Installation

Loading...
Loading...

Configuration

This destination uses the standard destination config wrapper (consent, data, env, id, ...). For the shared fields see destination configuration. Package-specific fields live under config.settings and are listed below.

Settings

PropertyTypeDescriptionMore
siteId*stringMatomo Site ID
url*stringBase URL of your Matomo instance
disableCookies*booleanDisable all tracking cookies for cookie-free analytics
enableLinkTracking*booleanEnable automatic outlink and download tracking
enableHeartBeatTimerintegerEnable heart beat timer with interval in seconds for accurate time-on-page
customDimensionsRecord<string, string>Custom dimension ID to property path mapping applied to all events
* Required fields

Mapping

Per-event rules under config.mapping. For the standard rule fields (consent, condition, data, batch, name, policy) see mapping.

PropertyTypeDescriptionMore
goalIdstringGoal ID to track a conversion alongside this event
goalValuestringProperty path for goal revenue value
siteSearchbooleanTrack as internal site search using trackSiteSearch
contentImpressionbooleanTrack as content impression using trackContentImpression
contentInteractionbooleanTrack as content interaction using trackContentInteraction
customDimensionsRecord<string, string>Per-event custom dimension ID to property path mapping

Examples

Custom event with goal

A promotion visible event fires Matomo trackEvent and then trackGoal to record a goal conversion.

Event
Mapping
Out

Cart update

A cart view calls Matomo trackEcommerceCartUpdate with the nested product items and cart total.

Event
Mapping
Out

Ecommerce order

A completed order calls Matomo trackEcommerceOrder with line items and order totals.

Event
Mapping
Out

Goal with value

A promotion event fires Matomo trackEvent and then trackGoal with a monetary goal value from event data.

Event
Mapping
Out

Initialization

Destination bootstrap loads the Matomo tracker script and configures the tracker URL and site id.

Event
Out

Page view

A page view is tracked in Matomo via trackPageView with the page title from event data.

Event
Mapping
Out

Product detail view

A product view fires Matomo ecommerceProductDetailView with a single-product array.

Event
Mapping
Out

Site search

A search submit fires Matomo trackSiteSearch with the keyword, category, and number of results.

Event
Mapping
Out
💡 Need implementation support?
elbwalker offers hands-on support: setup review, measurement planning, destination mapping, and live troubleshooting. Book a 2-hour session (€399)