Enhanced Attribution, a plugin for Matomo
On this page
Enhanced Attribution is a free Matomo plugin developed by us at Carnaby. It shows on which pages your goals are reached and links each conversion to the traffic source and the visitor behind it.
The plugin shows where goals are reached
Matomo shows how many conversions each goal gets, but it is not easy to see both the page each conversion happened on and where the visitor came from.
For every conversion, the plugin fetches the address of the page where the goal was reached and adds:
- Traffic source: channel, source, medium and campaign
- The visitor: number of visits and whether it is a new or returning visitor
- Location: country, region and city
- Technology: operating system, browser, device type and screen resolution
This makes it possible to see which pages lead to conversions and which combinations of content and traffic source bring in the most valuable visitors.
The data is available both as a report and through the API
The results are available as a report in Matomo for a quick overview. For your own analysis, you fetch the data through the Matomo API with the method EnhancedAttribution.getGoalUrlsDetailed. It takes the same parameters for site, period, date and segment as Matomo’s own reports. A request for one day looks like this:
?module=API&method=EnhancedAttribution.getGoalUrlsDetailed&idSite=1&period=day&date=2025-05-15&format=json
The plugin requires Matomo 5
Install the plugin from the Matomo Marketplace, or copy the files to plugins/EnhancedAttribution/ in your Matomo installation. Then activate it under Administration or with the command ./console plugin:activate EnhancedAttribution.
The plugin is open source under the GPL v3 licence. The source code, the documentation and the issue tracker for questions and bug reports are on GitHub.
We are happy to help with your measurement
We help companies set up Matomo and other analytics tools and understand what drives their conversions. Contact us if you would like to know more.
Want to know where you stand today?
Call us, or fill in the form and we will get back to you.