Connect Matomo to ChatGPT or Claude with Adport MCP
Choose a connection for your Matomo instance and verify the first report against a site you know.
Read guideUse Matomo campaign tracking to follow a visit from a tagged link to a demo request. With Matomo Cloud or a self-hosted site, you can compare entry pages, read goal completions in ChatGPT or Claude and match those results to ad spend.
Give every link in a campaign the same campaign name and a source and medium that describe where that particular link runs. For a spring demo offer in a customer newsletter, use a tagged link like the one below.
https://example.com/demo?mtm_campaign=spring-demo&mtm_source=customer-newsletter&mtm_medium=email
Send the link through your normal email or ad preview. Follow it to the final page and check that the redirect preserves the tags. Open Acquisition → Campaigns in the correct Matomo site and look for spring-demo in the reporting period. The same campaign on paid search should carry its own source and medium. This gives you a way to compare the two placements even when both land on /demo.
Matomo core records the campaign name and keyword. Matomo Cloud and installations with Marketing Campaigns Reporting can also record source and medium. An older archive can contain the name without the full combination. Keep those visits in a separate row when calculating channel totals. Matomo’s guide to campaign parameters.
In Goals, find the action your team actually values. A visitor opening the contact page and a visitor completing the demo form answer different questions. Record the completion goal’s ID and whether it can fire more than once per visit. In Adport, connect your instance under Analytics & tracking → Add source → Matomo, select the site and enable it for your assistant. A local CLI connection can reach an installation on a private network.
List the enabled Matomo sites and their IDs. For my chosen site, show the goals. After I select the demo completion goal, report last week’s sessions and completions by campaign, source, medium and entry page in site time. Include untagged rows and any incomplete archives.
The entry page is where the visit started. The form can be completed on another page. A return visit can also receive campaign credit under Matomo’s last non-direct attribution model. Select the same site, dates and goal when you compare the result with Matomo. Matomo goal reporting · How Matomo credits a conversion.
Suppose a paid campaign spent $240 and used two landing pages. The example below shows how to combine the website outcomes before attaching the budget.
| Entry page | Sessions | Demo completions |
|---|---|---|
| /demo | 80 | 6 |
| /pricing | 40 | 2 |
The campaign produced eight recorded completions from 120 sessions. Its cost per recorded demo was $240 ÷ 8 = $30. You can compare completions per 100 sessions on the two pages (7.5 and 5), but allocating $240 to each page would double the spend. To calculate page-level cost, get spend broken out by destination or by an ad that has a single verified destination.
Match the Matomo campaign tag to the ad platform’s campaign ID, then compare currencies and reporting time zones. Keep a sitewide total and an unmatched row so a missing tag stays visible. If sales qualifies leads in a CRM, label this figure “cost per demo completion” until the team has reconciled those records. Adport’s website acquisition report definitions.
Connect one Matomo site, choose a goal and ask which campaigns brought visitors who completed it.