Plugins View all plugins
Resources
Live demo ↗ Request a plugin Sign in feinwerk.io ↗ Get the connector
New

The Feinwerk Connector is now in the Matomo Marketplace. Install it right inside Matomo, no download, no FTP. Read the news · Here is how →

On this page
Plugin documentation

Campaign Manager

Campaign Manager builds campaign links right in Matomo, checks them while you type, keeps every link in one list for your team and shows each campaign with its goal and progress.

Plugin page Download ZIP

Overview

Matomo counts every spelling of a campaign value as a campaign of its own. "Newsletter", "news-letter" and "newsleter" become three rows in the report, a forgotten parameter sends visits to "Direct entry", and numbers once counted cannot be merged afterwards. That is why Campaign Manager starts earlier: it builds every link in Matomo itself, in the spelling your team already uses.

What Campaign Manager does

  • Link builder: target, channel and campaign in three steps. Source and medium come from the channel, existing values are one click away, and the link is checked while you type: the website's address, values Matomo would not store, duplicate link IDs and spellings that are almost the same as an existing one.
  • Saved links: one list for everyone with access to the website, with search, copy, edit and archive, and the visits and conversions of each link. A link is a draft, live or ended; once it is live, its values stay.
  • Campaigns: a period, a goal (visits, conversions or revenue) and notes per campaign. The overview shows every campaign by phase with goal progress, each campaign has a page of its own with preparation, progress and result, and a summary for decision makers to print.
  • Data quality: spelling variants that Matomo counts separately, with the recommended spelling, and campaign values without a saved link.

Good to know

The numbers come from Matomo's archived campaign reports. With the free Marketing Campaigns Reporting plugin Matomo also stores source, medium, content and a link ID, so each link is counted on its own. Saved links and campaign details stay in your Matomo database. Everything the pages do is also available through Matomo's HTTP API, for example for scripts and AI assistants.

Use cases

  • A link in three steps: Choose target, channel and campaign; source and medium come from the channel, and the link is ready to copy at once.
  • Checked while you type: Hints on values Matomo would not store, on duplicate link IDs and on spellings that are almost the same as an existing one.
  • One list for the team: Every saved link of a website with search, status, visits and conversions; nothing is deleted.
  • Campaigns with a goal: A period, a goal and notes per campaign, the overview by phase and a page of its own with progress and result.
  • Data quality at a glance: Spelling variants that Matomo counts separately and campaign values without a saved link, each one click from a new link.
  • Free and in your Matomo: All links and details stay in your Matomo database, for Matomo 6 and Matomo 5 in five languages.

Campaign Manager builds campaign links right in Matomo and checks them while you type: target, channel and campaign in three steps, in the spelling you already use. All links live in one list for the whole team, each campaign gets a period, a goal and a page of its own, and data quality shows where Matomo splits a campaign into several rows. Otherwise one typo, one capital letter or one forgotten parameter can split a campaign or let it disappear in "Direct entry".

Setup

  1. Install Campaign Manager with one click through the Feinwerk Connector (Administration › Feinwerk Plugins › Discover) or as a ZIP file, as described under Installing plugins, and activate it.
  2. Open Campaigns › Overview for a website. First steps shows what the website still lacks: goals in Matomo, a saved link, details for a campaign, and the recommended free plugin Marketing Campaigns Reporting.

Campaign Manager runs on Matomo 6 and Matomo 5 (one version for both) and PHP 8.1 or newer. The numbers come from Matomo's archived campaign reports; the usual archiving by cron job is enough.

Recommended: Marketing Campaigns Reporting. Without this free plugin Matomo keeps only the campaign name and the keyword of a link. With it, source, medium, content, group, placement and a link ID are stored too, so each saved link can be counted on its own.

Under Campaigns › Link builder:

  1. Where does the link lead? The full address of the page, starting with https://. Its own query and anchor are kept. An address that already contains campaign parameters is refused: the link gets its own.
  2. Where do you share it? A channel such as newsletter, social media, search ads or print. It fills in source and medium; for social media, print and similar channels pick or type the source.
  3. Which campaign does it belong to? Type the campaign name or click one you already use.

The link appears at once under Your link, with a copy button. While you type, the builder checks:

  • whether the target is one of the website's addresses and already carries campaign parameters,
  • whether Matomo would not store a value,
  • whether another saved link already carries the same link ID,
  • whether a value is almost the same as an existing one ("Newsletter", "news-letter", "newsleter"); then it suggests the existing spelling, so Matomo counts both together.

Values your links already use are one click away; campaign values Matomo counted in the last 30 days follow with a dashed frame. For the parameter names choose utm (read by Matomo and other tools), mtm, or the names your Matomo is configured for.

Save link keeps the link in the website's list. Saving the same link again returns the saved one, not a copy. More fields, dates and note holds keyword, content, the parameter names, the first and last day of use and a note for your team. Matomo's own Campaign URL Builder stays as it is; one line under it leads to the link builder.

Campaigns › Saved links lists every saved link of the website, newest change first. Search by campaign, source, target address or note, show active or archived links, copy a link again, open it in the builder or archive it. Links are never deleted; archived links can be restored. The results show the visits and conversions of each link for the period selected at the top: exactly the link's own when it has a link ID of its own with Marketing Campaigns Reporting; otherwise links with the same values share their numbers, and the list says how many links that are.

Draft, live, ended. A new link is a draft and can change freely. It is live once you choose Mark as live, once its first day of use is reached, or at the latest when Matomo counts its first visit. A live link keeps its target and campaign values, so its numbers stay together; the note and the days of use can still change, and for everything else there is Use the values for a new link. After its last day of use it is ended. The list says since when and why a link is live.

Plan and review campaigns

Campaigns › Overview shows every campaign of the website by phase: running, in preparation, ended. Each card names the visits, conversions and revenue for the period and segment selected at the top, the campaign's period, its saved links and, with a goal, the progress since the start. A running campaign without a visit two days after its start gets a warning. Campaign values Matomo counted without details and without a saved link come last under Only counted in Matomo. Campaigns can be archived and restored under Show archived campaigns.

New campaign and Edit details open a panel for the campaign value, a display name, start and end, a goal (visits, conversions or revenue, also of one Matomo goal) and notes. New link opens the builder with the campaign filled in, Analyse in Matomo opens Matomo's visitor overview with the campaign as segment.

Campaigns › All campaigns lists the campaigns as a table. Each opens its own page over its own days (from its start or first visit to its end or today, at most 92 days):

  • Preparation: the key data, a start checklist and the saved links with their status.
  • Progress: visits, conversions and revenue against the goal, the share of the time passed, warnings, Matomo's own evolution graph of the campaign and the numbers per link.
  • Result: reached, exceeded or missed (or an interim result), the best and the weakest link where links are counted by a link ID of their own, notes and learnings, and links into Matomo's visitor log, devices, pages and goals with the campaign as segment.

The Summary for decision makers shows the result on one page to print or save as PDF.

Data quality

Matomo counts every spelling of a campaign value as a campaign of its own: "newsletter-november", "newsletter_november" and "newsleter-november" are three campaigns, and their numbers cannot be merged afterwards. Campaigns › Data quality starts with the share of campaign visits with a saved link, the number of campaign values without a saved link and the number of spelling variants. Spelling variants shows such groups among the values of the selected period and the saved links, with the recommended spelling first and New link with it. Without a saved link lists the campaign values that no saved link and no campaign details explain, with New link and Analyse in Matomo.

Permissions and setting

Everyone who may view a website builds and copies links and sees the list; saving, changing and archiving need write access. Under Administration › Websites › Manage every website has the option Save campaign values in lower case (on by default), because Matomo usually stores campaign names and keywords in lower case.

Good to know

  • Your data: saved links and campaign details stay in your Matomo database (tables fw_campaigns_link and fw_campaigns_campaign). The only thing sent to Feinwerk is a feedback vote when someone clicks a thumb.
  • API: everything the pages do is also available through Matomo's HTTP API, module FeinwerkCampaignManager, for example for scripts and AI assistants. Invalid input answers with HTTP 400 and a message that names the parameter and the allowed values. All methods with examples are in the plugin's description.
  • Feedback and support: under the overview, the campaign pages, the link builder, the saved links and data quality the plugin asks whether the page helps. Your Matomo server sends the vote and the page, the plugin and Matomo version, the browser family and the interface language, nothing else. Switch the question off with feedback = 0 in the [FeinwerkCampaignManager] section of config/config.ini.php.
  • Goes well with Campaign Score: Campaign Score rates the campaign values already in Matomo; Campaign Manager keeps new links clean from the start.

Technical reference

PropertyValue
Technical nameFeinwerkCampaignManager
Current version5.0.1
Matomo≥ 5.0.0, < 7.0.0-b1
PHP≥ 8.1.0
Licensefree
Database changesnone in the current version

FAQ

What does Campaign Manager add to Matomo's own campaign reports?

Matomo counts campaigns once visits with campaign parameters arrive. Campaign Manager helps before and after that: it builds consistent links, saves them for the whole team and gives each campaign a period, a goal and notes. The overview shows all campaigns by phase with goal progress, and the data quality page finds spelling variants that Matomo counts as separate campaigns.

Where do the numbers come from?

All visits, conversions and revenue come from Matomo's own campaign report and, when active, from Marketing Campaigns Reporting. Campaign Manager reads the archived reports, so the usual archiving by cron job is enough.

Do I need the Marketing Campaigns Reporting plugin?

No, Campaign Manager works without it. With that free plugin, Matomo also stores source, medium, content, group, placement and a link ID, so each saved link is counted on its own. Without it the links of a campaign share their numbers, which is why the overview recommends the plugin.

What do draft, live and ended mean?

A new link is a draft and can change freely. It is live once you mark it live, its first day of use is reached or Matomo counts its first visit; from then on its target and campaign values stay, so its numbers stay comparable. After its last day of use it is ended.

Where is my data stored?

Saved links and campaign details stay in your Matomo database. Campaign Manager sends nothing to the Feinwerk Campaigns platform; the only thing that leaves your Matomo is a feedback vote when someone clicks a thumb.

Which Matomo versions and permissions does Campaign Manager need?

Matomo 5.0 or later and Matomo 6, light and dark mode, in English, German, French, Spanish and Italian. With view access to a website you can build and copy links and see the numbers; saving and changing them needs write access.