Connect Matomo to ChatGPT

Bring your Matomo reports into ChatGPT through the Windsor.ai plugin.

Ask ChatGPT about visits, bounce rate, page exits, campaign conversions or ecommerce revenue from Matomo. Put the answers next to Google Ads or Meta Ads data in the same chat.

Connect in three steps: add your Matomo domain and auth token in Windsor.ai, install the plugin in ChatGPT, then ask your first question.

Free forever plan No credit card needed
logo connect
Windsor.ai is your proven Matomo to ChatGPT connector
google cloud
meta partner
google partner
snowflake
users love us
medal
soc2
google cloud
meta partner
google partner
snowflake
users love us
medal
soc2

Questions to ask ChatGPT about your Matomo data

You can ask ChatGPT these questions about your Matomo data through the Windsor.ai plugin. The last one also uses Google Ads or Meta Ads data.

Check traffic by day

Ask ChatGPT for visits, actions per visit and bounce rate by day from Matomo’s Visits Summary. Ask ChatGPT to flag the days where visits or bounce rate were well above or below the period average, then open those dates in Matomo.

Find the pages people leave from

Ask for the page URLs with the most exits, with each page’s exit rate, visits and average page load time. Pages with many visits, a high exit rate and a slow load time are the ones to look at first.

Compare campaigns by goal conversions

Matomo’s campaign report gives visits, bounces, goal conversions and revenue for each campaign name. Ask ChatGPT to rank your campaigns by conversions per visit, or to show which goal each campaign converts most.

Set Matomo next to your ad spend

Add Google Ads or Meta Ads in Windsor.ai, then ask ChatGPT to list ad spend by campaign next to Matomo visits and goal conversions by campaign name. This works when your UTM campaign values use the same names as your ad campaigns. Ask ChatGPT to match the names without case, because Matomo usually stores campaign names in lowercase. After your first 30 days, the free forever plan keeps one source. Matomo and an ad platform together then need Basic or a higher plan.

How the Windsor.ai Matomo connection works

Supported fields: 124 metrics109 dimensions

Windsor.ai connects to Matomo with your Matomo domain and an auth token (token_auth). On Matomo 5 the token has the same access as the user who created it. A user with view access to your sites is enough. On Matomo 6 you set the token’s access level when you create it. View is all Windsor.ai needs. Windsor.ai reads Matomo through Matomo’s HTTP API and has no write actions for Matomo.

For each question, ChatGPT chooses the Matomo fields, the date range and any filters. Windsor.ai sends back the matching Matomo data. The fields come from Matomo reports: Visits Summary, page URLs and page titles, campaigns, ecommerce orders, abandoned carts and a visit log. For bounce rate, exit rate, average time on site and average time on page, Windsor.ai returns the figure Matomo reports for the whole period you ask about. It does not add up daily values.

The visit log comes from Matomo’s Live API and has one row per visit (device, browser, country, referrer). A request returns a limited number of recent visits (Matomo’s own API examples use 100). Use the visit log to look at individual recent visits. It does not give totals by device or country over a period.

Each Matomo site you select counts as 1 account on your Windsor.ai plan. Questions on the free forever plan cover the last 30 days of Matomo data.

Matomo monthly report in ChatGPT
Join 40,000+ businesses that trust Windsor.ai to streamline Matomo to ChatGPT integration
audi logo
colgate
asics
roche
novo nordisk logo
UBS
unicef
verisure
wpp
club med
skoda
heineken
puma
audi logo
colgate
asics
roche
novo nordisk logo
UBS
unicef
verisure
wpp
club med
skoda
heineken
puma

How to connect Matomo to ChatGPT with Windsor.ai

Watch the video tutorial, or follow our step-by-step guide to connecting Matomo to ChatGPT for prompts and the main Matomo metrics.

1

Select your data source

Choose Matomo as your data source. First create a token in Matomo: go to Administration, then Personal, then Security. Select Create New Token. Confirm your password and add a description. On Matomo 6, choose View as the access level (Matomo’s guide). Select Create New Token again and copy the token. In Windsor.ai, enter your Matomo domain without http:// or https:// (for example, yourcompany.matomo.cloud) and the token, then select Add Account and choose the Matomo sites you want in ChatGPT.

This works for Matomo Cloud and for Matomo on your own server, as long as Windsor.ai can reach your Matomo API. If your server blocks outside traffic, ask Windsor.ai support for the IP addresses to allow.

Matomo data source Windsor
Connect Windsor.ai pop-up in the ChatGPT Plugins page

FAQs

How do I connect Matomo to ChatGPT?

To connect Matomo (called Piwik until 2018) to ChatGPT, create an auth token in Matomo and enter it in Windsor.ai with your Matomo domain. Then install the Windsor.ai plugin in ChatGPT (Plugins in the sidebar) and ask your first Matomo question in a new chat. This works with Matomo Cloud and with Matomo on your own server if Windsor.ai can reach your Matomo API.

Piwik 3 and Matomo 3 installs may work if their HTTP Reporting API is reachable and the token can access the site, but this is not guaranteed. On those versions the token is under Administration, then API. Treat Piwik 2 and older as unsupported. Upgrade to a current Matomo version before you connect.

Tired of manual Matomo data exports? Try Windsor.ai today to automate your reporting

Access your data from various sources in one place. Get started for free.
g logo
fb logo
big query data
youtube logo
power logo
looker logo