# Connect Piwik PRO to Claude

Connect Piwik PRO to Claude with Supermetrics and turn your Piwik PRO data into answers, reports, and next steps without leaving Claude.

Don’t take our word. Try it free today.

[Connect Piwik PRO to Claude for free](https://claude.ai/directory/connectors/supermetrics)

![Illustrative Claude response for Piwik PRO: Use Supermetrics. Show Piwik PRO sessions and sessions with a completed ‘Demo request’ goal by source and medium for October 2026.](https://cdn.sanity.io/images/8ly2m84z/production-2025/8393177acc882f393a218da42b26da17e0f5c08e-2048x1113.png)

## At a glance
- **What it does.** Ask Claude about your Piwik PRO analytics in plain language. The Supermetrics connector fetches the data over the Model Context Protocol (MCP).
- **What you can query.** Query 265 fields covering traffic, pages, goals, ecommerce and consent.
- **Works with your other data.** Compare Piwik PRO with your other Supermetrics sources, such as Google Ads or HubSpot, in the same chat.

## Before you start

### Claude

You need a Claude account that can add connectors. Anthropic’s [custom connectors article](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp) explains how remote connectors work.

### Supermetrics

You can begin without a subscription, because a trial is created when you log in. If you already have a subscription, it needs an AI chats destination. Check the [Supermetrics Hub](https://hub.supermetrics.com), and if the destination is missing, upgrade or swap an existing destination to AI chats.

Tip: Sign in with the email and team that hold your subscription. See [how to connect Supermetrics to AI tools](https://docs.supermetrics.com/docs/how-to-connect-supermetrics-to-ai-tools) for details, and the [pricing page](/pricing) for plans.

### Piwik PRO

You need your Piwik PRO account name and an API key, which is a client ID and a client secret. The [Piwik PRO connection guide](https://docs.supermetrics.com/docs/piwik-pro-connection-guide) covers both.

Your account name is the first part of your dashboard address. If the address is exampleABC.piwik.pro, the account name is exampleABC.

You need dashboard access and permission to create an API key. You create the key during setup, in step 3.

## How do you connect Piwik PRO to Claude?

1. **Add Supermetrics to Claude.** Open [Supermetrics for Claude](/products/claude) and click Try in Claude. Or, in Claude, choose Customize, then Connectors, and search for Supermetrics.

   ![Option A: from the Supermetrics site](https://cdn.sanity.io/images/8ly2m84z/production-2025/791482253f6d327169c26b884e2dc155f390a6a6-2046x745.png)

2. **Pick your team.** Sign in to Supermetrics and choose the team to work with. If you don’t have a subscription, a trial begins here.

3. **Get your Piwik PRO API credentials.** In Piwik PRO, go to Profile, then API Keys, and click Create key. Copy the client ID and client secret, and store them somewhere safe.

   ![Click Create key, then copy the client ID and client secret](https://cdn.sanity.io/images/8ly2m84z/production-2025/567d251b45140796c123b65e7edfb26d1058803d-2045x975.png)

4. **Connect Piwik PRO in the Hub.** Open Piwik PRO in the [Supermetrics Hub](https://hub.supermetrics.com) or through the login link Claude provides, and enter the account name, client ID and client secret. Click Start, then select your accounts and the query type.

   ![Illustrative Supermetrics Hub form for connecting Piwik PRO.](https://cdn.sanity.io/images/8ly2m84z/production-2025/f4afb2e01585c9ffb6654c8ed9ab9f9f0de85232-2048x1222.png)

5. **Tell Claude what to use.** If other data tools are connected, write “use Supermetrics” in your prompt. Include a date range, for example: “Use Supermetrics. Show Piwik PRO sessions and page views by day for the last 14 days.”

6. **Check the results.** Check the totals against Piwik PRO for the same dates and website. Then explore sources, pages, goals and consent, or ask Claude for a dashboard.

Building your own agent or n8n workflow instead? Use the [standalone Supermetrics MCP server](https://docs.supermetrics.com/docs/supermetrics-mcp-server), which needs a Supermetrics subscription with API access. For more setup help, see the [AI tools connection guide](https://docs.supermetrics.com/docs/how-to-connect-supermetrics-to-ai-tools).

## What can you ask Claude about Piwik PRO?
Swap in your own periods, goals, campaigns and websites.

| **Goal** | **Prompt** | **What you get** |
| --- | --- | --- |
| Reporting | Use Supermetrics. Show Piwik PRO sessions and unique visitors by week for the last 8 weeks. | A weekly table of sessions and unique visitors |
| Reporting | Use Supermetrics. Which channels, sources and mediums sent the most Piwik PRO sessions last month? | Channels, sources and mediums ranked by sessions |
| Reporting | Which Piwik PRO goals converted best last quarter, and from which sources? | Goal conversions for each goal, split by source |
| Diagnosis | Which pages were the last page seen most often in the last 30 days, and what’s their exit rate? | Top exit pages with exit counts and exit rate |
| Comparison over time | Compare Piwik PRO goal conversions by month this year with the same months last year. | A month-by-month table for both years |
| Cross-source | Show Piwik PRO sessions by campaign name next to Google Ads cost by campaign for last month. | Two result sets lined up by campaign name where the names match |

### More example prompts

| **Goal** | **Prompt** | **What you get** |
| --- | --- | --- |
| Diagnosis | List the 20 pages with the most unique page views last month, with their page bounce rate. | A top 20 page list to review |
| Diagnosis | What share of consent form impressions ended with full consent last month, and how many got no decision? | A consent funnel in counts |
| Comparison over time | How did abandoned carts and lost revenue change week on week over the last 8 weeks? | A weekly table of abandoned carts and lost revenue |
| Cross-source | Compare Google Search Console organic clicks per day with Piwik PRO sessions from search for the last 4 weeks. | Two result sets lined up by date |

More patterns are in the [AI chats use cases](https://docs.supermetrics.com/docs/use-cases-for-supermetrics-ai-chats-and-mcp-server).

![Illustrative Claude response for Piwik PRO: Use Supermetrics. Show Piwik PRO sessions by channel for the last 30 days.](https://cdn.sanity.io/images/8ly2m84z/production-2025/f16aa5f30a9eb99a15863678a62bdbcdb60369f7-2045x946.png)

## What can you do with Piwik PRO data in Claude?

Here are six analyses you can run in chat.

1. **See where visitors come from.** Rank sessions by channel, source, medium and campaign.

2. **Find your strongest pages.** Rank page URLs and titles by unique page views, and have Claude work out average time on page.

3. **Spot where visitors leave.** Compare where sessions start and stop, using entries, exits, exit rate and bounces by exit page.

4. **Measure goal conversions.** Count total and unique goal conversions, plus conversion rate, by goal name and by source.

5. **Audit consent.** See how often your consent form appears and how visitors respond, including what they agree to.

6. **Check abandoned carts.** Track abandoned carts and lost revenue by shopping stage to see where purchases stall.

## How do you combine Piwik PRO with other data in Claude?

Piwik PRO can sit next to your other Supermetrics sources in one chat. Try these pairings.

- **Organic clicks vs sessions.** Compare organic clicks per day with Piwik PRO sessions, using [Google Search Console in Claude](/connect/google-search-console-to-claude).

- **SEO pages vs page views.** Check whether the pages [Semrush in Claude](/connect/semrush-to-claude) tracks for SEO are the ones with the most page views in Piwik PRO.

- **Ad cost vs goal conversions.** Put Google Ads cost next to Piwik PRO goal conversions by campaign name, using [Google Ads in Claude](/connect/google-ads-to-claude).

- **Sessions and form activity.** Compare weekly Piwik PRO sessions with HubSpot form activity to see whether they rise and fall together, using [HubSpot in Claude](/connect/hubspot-to-claude).

Claude lines sources up by a field they share, usually date. Campaign names work only if they’re spelled the same in both tools. Supermetrics doesn’t create the match for you.

## What Piwik PRO data can Claude query?

Piwik PRO has one query type in Supermetrics, Analytics, so there’s no report type to choose. It fetches website and product analytics data from Piwik PRO’s Analytics product.

Supermetrics lists 265 Piwik PRO fields: 64 metrics and 201 dimensions. Apart from dataSourceName and today, every field ID starts with analytics__. Every query needs a date range.

| **Field group** | **What it covers** | **Example field IDs** |
| --- | --- | --- |
| Traffic and sessions | Sessions, visitors, users, events, entries, exits, bounces | analytics__sessions, analytics__visitors, analytics__users, analytics__entries, analytics__exits |
| Acquisition | Source, medium, channel, campaign, referrer, keyword | analytics__source, analytics__medium, analytics__referrer_type, analytics__campaign_name, analytics__referrer_url |
| Pages | Page views, URLs, titles, time on page, previous and next page | analytics__page_views, analytics__event_url, analytics__event_title, analytics__time_on_page, analytics__next_event_url |
| Goals and events | Goal conversions, custom events, downloads, outlinks, site search | analytics__goal_conversions, analytics__goal_uuid, analytics__custom_events, analytics__downloads, analytics__search_keyword |
| Ecommerce | Orders, revenue, abandoned carts, shipping and discount | analytics__ecommerce_conversions, analytics__revenue, analytics__lost_revenue, analytics__order_id |
| Consent | Consent form impressions, clicks and the types of consent given | analytics__consent_form_impressions, analytics__consents_full, analytics__consents_analytics, analytics__consent_type_remarketing |
| Audience and tech | Country, city, device, browser, operating system, custom dimensions | analytics__location_country_name, analytics__device_type, analytics__browser_name, analytics__session_custom_dimension_1 |

### Field glossary

Plain-English meanings for common Piwik PRO fields.

| **Field ID** | **Plain-English meaning** | **Type** | **Watch out** |
| --- | --- | --- | --- |
| analytics__sessions | The number of sessions | Metric | Check how another tool defines a session before you compare totals |
| analytics__visitors | The number of unique visitors | Metric | analytics__users counts only visitors with a User ID, so say which one you mean |
| analytics__page_views | The number of times a page was visited | Metric | analytics__unique_page_views counts unique visits to a page |
| analytics__bounce_rate | Bounces as a percentage of sessions | Metric | analytics__page_bounce_rate is the page-level version |
| analytics__exit_rate | The percentage of sessions that exit on a page | Metric | Pair it with analytics__session_exit_url |
| analytics__avg_session_time | Average session time | Metric | See the rates row in the checking table below |
| analytics__goal_conversions | The total number of completed goals | Metric | analytics__goal_conversion_rate is a share of sessions, so read it as a rate |
| analytics__revenue | The grand total value of the order | Metric | Monetary |
| analytics__lost_revenue | The revenue lost due to abandoned carts | Metric | Monetary. Read it beside analytics__ecommerce_abandoned_carts |
| analytics__referrer_type | The traffic channel, listed as Channel | Dimension | Differs from analytics__source |
| analytics__consents_none | Times a visitor didn’t consent | Metric | Counts events, so don’t read it as a share of people |

## What is the Piwik PRO MCP connector for Claude?
The Piwik PRO MCP connector for Claude is the Supermetrics connector that lets Claude read your Piwik PRO data through the Model Context Protocol (MCP).

The Model Context Protocol, or MCP, is an open standard that lets an AI application use outside tools ([modelcontextprotocol.io](https://modelcontextprotocol.io)). The Supermetrics connector for Claude is one such tool. You ask a Piwik PRO question, Claude selects the fields, Supermetrics requests them from your account, and Claude explains the result.

Claude can read the traffic, page, goal, ecommerce and consent fields that Supermetrics lists for Piwik PRO.

Use [AI chats](https://docs.supermetrics.com/docs/ai-chats) to ask questions in Claude. For custom agents, n8n workflows or other MCP clients, use the standalone [Supermetrics MCP server](https://docs.supermetrics.com/docs/supermetrics-mcp-server).

![How Piwik PRO data reaches Claude](https://cdn.sanity.io/images/8ly2m84z/production-2025/19d83a0c2d3ac684417a630ae786d9346c4fd80a-2046x972.png)

## Which way should you connect Piwik PRO to Claude?

| **Approach** | **Setup effort** | **Data scope** | **Blending with other sources** | **Suits** |
| --- | --- | --- | --- | --- |
| Supermetrics connector for Claude | Low: add the connector, enter account name and API key | Piwik PRO plus the other sources in your Supermetrics account | Yes, in the same chat | Analysts and marketers who want answers without writing reports |
| Supermetrics MCP server (custom client) | Medium: you configure your own MCP host | The same sources | Yes, if your agent merges the results | Engineers building agents and workflows |
| Piwik PRO’s own MCP or AI features, if the platform offers them | Depends on the platform | Piwik PRO only | No, unless you add tools | Questions that stay inside Piwik PRO |
| CSV export and upload | Low, but manual every time | One export per file | Only if you merge files yourself | A single snapshot for a one-time check |
| Direct API and custom code | High: you write, host and maintain scripts | Whatever you code | Whatever you code | Teams with a developer and a pipeline to maintain |

**Pick the Supermetrics connector for Claude if** you want Piwik PRO answers in chat with no coding, or site analytics next to your other Supermetrics sources.

**Pick the Supermetrics MCP server if** you run your own MCP host and need to decide how the client behaves.

**Pick Piwik PRO’s own tools if** the whole question lives inside Piwik PRO and relies on something Supermetrics doesn’t list. Check the [Piwik PRO developer documentation](https://developers.piwik.pro/) for what’s available.

**Pick CSV or the API if** you want a frozen export for an audit (CSV) or a pipeline under your control (API).

## When is this not the right tool?

- If you need raw, visit-by-visit records for modeling, load the data with [Piwik PRO to BigQuery](/connect/piwik-pro-to-bigquery). Chat isn’t a bulk export.

- If you need a scheduled dashboard, build it in [Piwik PRO for Looker Studio](/connect/piwik-pro-to-looker-studio).

- If your team works in spreadsheets, use [Piwik PRO in Google Sheets](/connect/piwik-pro-to-google-sheets).

- If you want to edit goals, tags or consent settings, make those changes in Piwik PRO.

- If you need a metric Supermetrics doesn’t list, work in Piwik PRO or its API directly.

## How do you check Claude’s Piwik PRO numbers?

Before you share a number, compare one total, such as sessions for a week, with Piwik PRO for the same dates and website. Also ask Claude whether it summed any non-aggregatable rate. If a figure still looks off, the table lists the usual causes.

| **Situation** | **What happens** | **What to do** |
| --- | --- | --- |
| Date range | Every Piwik PRO query requires one | Name the period in your prompt |
| Several accounts | The Hub lets you select several accounts, and analytics__account and analytics__website_name identify them | Name the account or website in your prompt |
| Wrong account or website | Totals include another website or account | Check the account and analytics__website_name filters |
| Non-aggregatable rates | analytics__bounce_rate, analytics__exit_rate, analytics__avg_session_time, analytics__entry_rate, analytics__events_per_session, analytics__returning_visitors_rate and similar fields are pre-aggregated | Ask for the rate at the grouping you need, in a single query, and don’t have Claude sum rows |
| Revenue currency | Revenue fields are monetary, and the field list has no currency dimension | Confirm the currency in Piwik PRO before you compare totals |
| Large results | Event-level fields such as analytics__event_url with analytics__date can return many rows. Bigger queries run asynchronously and Claude polls for the result | Ask for a top 20 list |
| Bounce rate mixed up | analytics__bounce_rate is per session, while analytics__page_bounce_rate is per page | Check which one Claude used |
| Unclear method | You can’t tell how Claude reached a figure | Ask Claude to show the query and the field IDs it used |

## Troubleshooting

| **Symptom** | **Likely cause** | **Fix** |
| --- | --- | --- |
| LICENSE_NOT_FOUND | Claude is linked to a different email or team than your paid plan | Use the email and team of the paid subscription. In Claude Connectors, disconnect Supermetrics, reconnect and select that team |
| Claude pulls from the wrong team, or passes over Supermetrics | The first login chose another team, or several data tools are connected | Reconnect in Connectors with the right team and add “use Supermetrics” to the prompt |
| “No accounts found” | The Piwik PRO login can’t see an account | Check the account name and API key, then reconnect Piwik PRO in the Hub |
| Piwik PRO isn’t authorized | No connection exists in the Hub, or it needs renewing | Ask Claude for the Piwik PRO login link, or reconnect in the Hub, then rerun |
| A query that worked has stopped | The connection may need renewing | Reconnect Piwik PRO in the Hub first, then rerun the query |
| The Hub doesn’t accept the account name | You entered the full address or another name | Use only the first part, such as exampleABC for exampleABC.piwik.pro |
| You no longer have the client secret | It wasn’t saved when the key was created | Create a new key under Profile, API Keys and enter the new pair in the Hub |
| You can’t create an API key | Your Piwik PRO access may not allow it | If you don’t see the API Keys tab, ask your Piwik PRO administrator to create the key or check your access |
| Still stuck | Something else | Contact support through the Supermetrics Hub |

## Is it safe? Security and data handling

- For each question, Supermetrics fetches the fields you ask for from Piwik PRO and returns them to Claude. What comes back is visible in the chat.

- The connector reads Piwik PRO data only, so Claude can’t alter tags, goals or consent settings. The only write-like action is a dashboard pushed to Supermetrics Studio.

- Your client ID and client secret act as a key to your analytics data. Create a key just for Supermetrics, and replace it if it leaks.

- Analytics tools hold visitor-level detail. Leave out analytics__ipv4_address, analytics__ipv6_address, analytics__visitor_ips, analytics__user_id and analytics__visitor_id unless you need them.

- [AI chats](https://docs.supermetrics.com/docs/ai-chats) data-source connections are [shared by default](https://docs.supermetrics.com/docs/about-shared-and-private-connections). Team members assigned to the subscription can use shared logins, so review team membership and subscription access before connecting client accounts. Anyone who can open the Claude chat can see its returned results.

- How Anthropic stores conversations depends on your Claude plan and organization settings.

- For Supermetrics policies, see the [Supermetrics Trust Center](https://trust.supermetrics.com).

## Related connectors

- [Send Piwik PRO data to BigQuery](/connect/piwik-pro-to-bigquery) to keep session data in a warehouse

- [Report on Piwik PRO in Looker Studio](/connect/piwik-pro-to-looker-studio) with scheduled traffic dashboards

- [Analyze Piwik PRO in Google Sheets](/connect/piwik-pro-to-google-sheets) with spreadsheet views of sessions and goals

- [Ask Claude about Google Search Console](/connect/google-search-console-to-claude) to see organic clicks beside sessions

- [Ask Claude about Semrush](/connect/semrush-to-claude) to put SEO data next to page performance

- [Supermetrics for Claude](/products/claude) to see every source you can ask Claude about

## FAQ

### What is the Piwik PRO MCP server?

It’s a Model Context Protocol endpoint through which an AI client reads Piwik PRO data. With Supermetrics, the connector for Claude handles this, and the standalone [Supermetrics MCP server](https://docs.supermetrics.com/docs/supermetrics-mcp-server) is for people who build their own agents.

### Is there an official Piwik PRO MCP, and how is this different?

For Piwik PRO’s own tools, check the [Piwik PRO developer documentation](https://developers.piwik.pro/). The Supermetrics connector reads Piwik PRO through Supermetrics field IDs, and it sits beside your other sources in the same chat.

### Does it work in Claude Desktop, claude.ai and Claude Code?

Yes. Add Supermetrics through Claude’s Connectors directory. The [remote connector](https://support.claude.com/en/articles/11725091-when-to-use-desktop-and-web-connectors) works on the web, in Claude Desktop and in Claude Code, subject to your account and organization settings. The [standalone Supermetrics MCP server](https://docs.supermetrics.com/docs/supermetrics-mcp-server) is a separate option for custom integrations and requires a subscription with API access.

### Can Claude change my Piwik PRO tracking or settings?

No. The connector reads Piwik PRO data only, so Claude can’t edit tags, goals or consent settings.

### How fresh is the Piwik PRO data?

To check how recent the data is, compare the latest hours in Piwik PRO itself with what Claude returns.

### Can I use multiple Piwik PRO accounts?

Yes. You select the accounts to include when you connect, and analytics__account and analytics__website_name let Claude tell them apart in one table.

### Does connecting Piwik PRO to Claude require any coding?

No. You create an API key in the Piwik PRO dashboard and paste three values into the Hub. After that you chat in plain language.

### Does it cost extra?

You can start without a subscription, because a trial is created when you log in. If you already have a subscription, check the Hub for an AI chats destination, and see [pricing](/pricing) for plans.

### Is my data used to train models?

It depends on your Claude plan. Claude Free, Pro, Max and Team accounts use data for training unless you opt out. Enterprise and API accounts don’t ([how to connect Supermetrics to AI tools](https://docs.supermetrics.com/docs/how-to-connect-supermetrics-to-ai-tools)). Check Anthropic’s current terms.

### How is it different from exporting Piwik PRO to Sheets or BigQuery?

An export keeps a copy in a sheet or table that you query later, while the connector answers questions in chat through the Supermetrics connection. Use [Sheets](/connect/piwik-pro-to-google-sheets) or [BigQuery](/connect/piwik-pro-to-bigquery) for a stored history.

### Can Claude show which traffic sources bring goal conversions?

Yes. Ask for goal conversions by source and medium, split by goal. Try: “Use Supermetrics. Show Piwik PRO goal conversions by goal, source and medium for last month.”

### Can I analyze page performance in Claude?

Yes. Ask for page views, unique page views and time on page by page URL, then add exits and bounces to see where visits end. Try: “Use Supermetrics. List the top 20 Piwik PRO pages by unique page views last month, with exits and page bounce rate.”

## Start asking Claude about Piwik PRO

Add the Supermetrics connector in Claude, then ask your first Piwik PRO question with a date range.

[Connect Piwik PRO to Claude for free](https://claude.ai/directory/connectors/supermetrics)
