Connect Piano Analytics to Claude

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

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

Illustrative Claude response for Piano Analytics: Use Supermetrics. Which sources and campaigns brought the most visits last month?

At a glance

What it does

The Supermetrics connector lets Claude read Piano Analytics data over the Model Context Protocol (MCP). That covers visits, page views, sources, campaigns, entry and exit pages, transactions, internal search, multivariate tests and audio or video playback.

What you need

You connect with a site ID, an access key and a secret key. The keys come from the API Keys tab of your Piano Analytics profile.

Ask for the full period

Rates and unique counts can’t be added up across days, so ask for the full period in one question.

Before you start

Claude

You need a Claude account that can add connectors. Supermetrics shows up under Customize, then Connectors. Anthropic’s custom connectors article explains how remote connectors work.

Supermetrics

A Supermetrics subscription isn’t required to begin, because a trial is created at login. If you already pay, open the Supermetrics Hub and check whether you have an AI chats destination. If you don’t, upgrade or swap one of your destinations to AI chats.

Sign in with the email and team that hold your subscription (how to connect Supermetrics to AI tools). Current plans are on the pricing page.

Piano Analytics

The Piano Analytics connection guide asks for three things: a site ID, an access key and a secret key. It doesn’t name a user role.

Full Piano Analytics access requirements

  • To find a site ID, open the Data Query designer in Piano and set Site ID as the row and Visits as the column. Run the query and copy each ID, repeating for every site you want.
  • To get the keys, open your profile page in Piano and go to the API Keys tab. Create a new API key with any name (the guide’s example is “Supermetrics”), then save both the access key and the secret key.
  • For several sites, enter the IDs as a comma-separated list, such as 12345,56342,23444.

Start here

How do you connect Piano Analytics to Claude?

1

Add the connector. Open Supermetrics for Claude and click Try in Claude. Or, in Claude, choose Customize, then Connectors, and search for Supermetrics.

Option A: from the Supermetrics site
2

Choose a team. Sign in to Supermetrics and select the team to work in. A trial starts here if you have no subscription.

3

Authorize Piano Analytics in the Hub. Open Piano Analytics or use the login link Claude hands you, then enter your site ID or IDs, the access key and the secret key. Name the login and click Start. Piano Analytics has no account list in Supermetrics: your sites come from the IDs you entered.

Illustrative Supermetrics Hub form for connecting Piano Analytics.
4

Mention Supermetrics. If Claude has several data tools connected, say “use Supermetrics” in the prompt so it picks this connector.

Illustrative Piano Analytics interface showing data query designer.
5

Send a small first query. Piano Analytics queries need a date range. Try: “Use Supermetrics. Show Piano Analytics visits and page views by day for the last 14 days.”

6

Check, then widen. Compare the totals with the same dates in Piano. Once they agree, move on to sources, entry pages, shop revenue or media playback, or ask Claude for a dashboard.

Building your own agent or n8n workflow instead? Use the standalone Supermetrics MCP server, which needs a Supermetrics subscription with API access. For more setup help, see the AI tools connection guide.

What can you ask Claude about Piano Analytics?

Swap in your own dates and site names. Start each prompt with “Use Supermetrics” if Claude has other data tools connected.

Goal

Prompt

What you get

Reporting

Use Supermetrics. Show Piano Analytics visits and page views by week for the last 8 weeks.

A weekly traffic table with visits and page views

Reporting

Which sources and campaigns brought the most visits last month?

A list of source, medium and campaign combinations, ranked by visits

Reporting

Which audio or video titles had the highest completion rate this quarter?

Media titles ranked by completion rate, with starts for context

Diagnosis

Which entry pages have the highest bounce rate this month, and how many visits do they carry?

Entry pages with bounce rate and visit volume side by side

Comparison over time

Compare visits by device type this month with the same month last year.

A two-period table of visits by device type

Cross-source

Show Piano Analytics visits by day beside organic clicks from my search data for the last 30 days.

Two result sets lined up by date

More example prompts

Goal

Prompt

What you get

Diagnosis

What are the top internal search keywords this month?

Internal search keywords ranked by visits

Comparison over time

Did the winning multivariate variant keep winning across waves?

One row per variant and wave, with conversions

Comparison over time

How did turnover including tax change by product category this quarter compared with last quarter?

A two-quarter table of turnover by product category

Cross-source

Compare Piano Analytics visits by campaign with clicks by campaign from my paid ad source last month.

Campaign rows with visits next to clicks, where campaign names match

Every prompt above reads data. More ideas live in the AI chats use cases.

Illustrative Claude response for Piano Analytics: Use Supermetrics. Show Piano Analytics visits by acquisition source for last month.

What can you do with Piano Analytics data in Claude?

Six tasks fit the connector well. The first four work with any web analytics tool. The last two use fields specific to Piano Analytics.

Compare acquisition channels

See visits by source, medium and campaign, and separate campaign traffic from organic visits.

Find entry pages with high bounce rates

Ask which landing pages lose the most visits after one page. See bounce counts and rates side by side.

Trace where visits end

See the last page people viewed, ranked by visits, and compare it with the entry-page list.

Review shop revenue

Check transactions, turnover including tax and payment methods, split by product category.

Measure audio and video

Compare starts, playbacks and completion rate by title to see which titles people finish and which they abandon early.

Read multivariate tests

Compare conversions and visits by test, variant and wave to see whether a variant keeps winning.

How do you combine Piano Analytics with other data in Claude?

Piano Analytics can sit beside any source in your Supermetrics account.

Search demand vs traffic

With Google Search Console in Claude, line up organic clicks by day with Piano visits by day to compare search demand with site traffic.

Piano vs Piwik PRO

If some of your sites use Piwik PRO, Piwik PRO in Claude lets you compare traffic across both analytics tools.

Campaign tag check

To check campaign tags against paid data, ask which Piano campaign names also appear in an ad source, then compare visits with clicks.

Claude lines up results on a shared field, usually date. Campaign names only line up if both tools use identical values, and entry page labels may not match URLs from another source. Supermetrics doesn’t create the match for you.

What Piano Analytics data can Claude query?

You don’t choose a report type for Piano Analytics. One Performance report covers acquisition and on-site behavior on web and mobile, and every query needs a date range. Supermetrics lists 184 Piano Analytics fields: 43 metrics and 141 dimensions.

Field group

What it covers

Example field IDs

Traffic volume

Visits, page views, visitors, users, events

performance__visits, performance__page_loads, performance__unique_visitors, performance__users, performance__events

Acquisition

Source, campaign, medium, search engine, social network, referrer

performance__src, performance__src_campaign, performance__src_medium, performance__src_se, performance__src_social_networks

Pages

Page label, page levels, entry and exit pages

performance__page, performance__page_chapter1, performance__visit_entrypage, performance__visit_exitpage

Shop

Transactions, turnover, payment, products

performance__transactions, performance__transactions_turnover_taxfree, performance__payment_mode, performance__product_cat1

Audio and video

Plays, sessions, completion, buffering

performance__av_plays, performance__av_sessions, performance__av_average_playback_completion_rate, performance__av_content

Onsite ads, tests, search

Onsite campaigns, multivariate tests, internal search

performance__onsitead_campaign, performance__mv_test, performance__ise_keyword

Audience and device

Country, device, browser, OS, consent

performance__geo_country, performance__device_type, performance__browser_group, performance__visitor_privacy_consent

Fields behind the use cases

Use case

Field IDs

Compare acquisition channels

performance__visits, performance__src, performance__src_medium, performance__src_campaign, performance__src_type

Find entry pages with high bounce rates

performance__visit_entrypage, performance__bounces, performance__bounce_rate

Trace where visits end

performance__visit_exitpage, performance__visits

Review shop revenue

performance__transactions, performance__transactions_turnover_withtax, performance__payment_mode, performance__product_cat1

Measure audio and video

performance__av_starts, performance__av_playbacks, performance__av_average_playback_completion_rate, performance__av_content

Read multivariate tests

performance__conv1_visitors, performance__visits, performance__mv_test, performance__mv_creation, performance__mv_wave

Time grouping in prompts

performance__date, performance__year_week_iso, performance__year_month

Internal search and devices

performance__ise_keyword, performance__device_type

Field glossary

Field ID

Plain-English meaning

Type

Watch out

performance__visits

Number of visits. Piano defines a visit as a set of events

Metric

Use Piano’s definition when you compare with other tools

performance__page_loads

Page views: the number of times a page has been loaded

Metric

Ask for it as page views

performance__users

Number of users, meaning identified visitors

Metric

Non-aggregatable. Counts identified visitors only, so it won’t match performance__unique_visitors

performance__unique_visitors

Number of visitors, listed as Visitors

Metric

Non-aggregatable

performance__bounces

Number of visits with less than 2 pages

Metric

Count, not a rate

performance__bounce_rate

Ratio between bounces and all visits

Metric

Non-aggregatable

performance__visits_per_user

Visits per user

Metric

Non-aggregatable

performance__time_spent_per_visits

Average duration of visits to the site, in minutes

Metric

Non-aggregatable average

performance__src_type

Whether the source of the visit is a campaign or organic

Dimension

Use it to split paid and campaign traffic from organic

performance__visit_entrypage

Label of the entry pages

Dimension

A page label, which may not equal a URL

performance__transactions_turnover_withtax

Turnover including tax from transactions

Metric

The tax-free version is performance__transactions_turnover_taxfree

performance__visitor_privacy_consent

Whether the visitor gave consent (yes/no)

Dimension

Split by it before comparing totals with another tool

performance__av_average_playback_completion_rate

Playback completion rate for audio and video content (listed as AV - Playback completion rate)

Metric

Non-aggregatable

For what non-aggregatable means in practice, see How do you check Claude’s Piano Analytics numbers?

What is the Piano Analytics MCP connector for Claude?

The Piano Analytics MCP connector for Claude is the Supermetrics connector that lets Claude read your Piano Analytics data through the Model Context Protocol (MCP).

MCP, the Model Context Protocol, is an open standard that lets an AI application call outside tools (modelcontextprotocol.io). The Supermetrics connector for Claude is one of those tools. When you ask about Piano Analytics, Claude picks the right metrics, and Supermetrics fetches them from your Piano site to build the answer in the chat.

If you want to build your own agents or workflows instead of chatting, see the comparison of connection options below.

Use AI chats to ask questions in Claude. For custom agents, n8n workflows or other MCP clients, use the standalone Supermetrics MCP server.

How Piano Analytics data reaches Claude

Which way should you connect Piano Analytics to Claude?

Approach

Setup effort

Data scope

Blending with other sources

Suits

Supermetrics connector for Claude

Low: add the connector, enter site ID and keys

Piano Analytics plus any other source in your Supermetrics account

Yes, in the same conversation

Analysts and marketers who want answers without writing queries

Supermetrics MCP server (custom client)

Medium: you configure your own MCP host

The same sources

Yes, if your agent merges the results

Engineers wiring analytics into agents or workflows

Piano’s own MCP or AI features, if the platform offers them

Depends on the platform

Piano Analytics only

No, unless you add more tools

Questions that stay inside Piano

Files saved from your analytics tool and uploaded to Claude

Low, but manual every time

One file per upload

Only if you merge files yourself

A single snapshot for one question

Direct API calls and custom code

High: you write, host and maintain scripts

Whatever you code

Whatever you code

Teams with an engineer and a pipeline to own

Supermetrics offers two routes into MCP. AI chats is the connector for Claude, which handles the MCP part for you. If you only want to chat with your data in Claude, you don’t need the MCP server.

The standalone Supermetrics MCP server is a separate product for technical users. It suits custom workflows, n8n, custom-built agents and other MCP-compatible hosts. It’s available with a valid Supermetrics subscription that includes Supermetrics API access.

You don’t need an AI chats destination for the MCP server. Setup instructions are at mcp.supermetrics.com.

Pick the Supermetrics connector for Claude if you want Piano Analytics answers in chat with no code. It also fits if you want traffic data next to search, paid or CRM data.

Pick the Supermetrics MCP server if you run an MCP host you control and need to decide how the client behaves.

Pick Piano’s own tooling if every question lives inside Piano and you want features Supermetrics doesn’t expose. Read Piano’s developer documentation first.

Pick files if you need a frozen export for an audit. Pick the API if you need a pipeline you fully control.

When is this not the right tool?

How do you check Claude’s Piano Analytics numbers?

Most mismatches trace back to the question. Set the date range and sites in your prompt, then compare one total (such as one week of visits) with Piano for the same dates. Ask Claude to show the query and field IDs it used.

Rates, averages and unique counts such as bounce rate, users and visitors arrive pre-aggregated. Adding or averaging their rows gives an invalid number, so ask for the full period or grouping you want in one query.

Situation

What to check or do

Date range

Every Piano Analytics query needs one. State the period in your prompt

Another site included or missing

Check the comma-separated site list saved in the login. To add a site, update the login with the extra ID in the Hub

Rates or unique counts summed

Ask for the rate or count at the grouping you need in a single query, and don’t ask Claude to sum rows

Users read as all visitors

Check whether performance__users (identified visitors) was used where performance__unique_visitors was meant. Visits and visitors are also different counts

Page label read as URL

Entry page values are labels, which may not match a URL or path

Hourly timing

Some timestamp fields are labeled UTC, for example performance__event_time_utc, while others aren’t. Ask Claude which field it used

Consent changes volume

Split traffic by performance__visitor_privacy_consent before you compare totals with another tool. performance__visitor_privacy_mode and performance__browser_cookie_acceptance also describe consent and cookie acceptance

Very large results

Event-level fields such as performance__event_id or performance__pageview_id return one row per event or page view. Use them for samples. Large queries may take longer, and Claude waits for the results

Troubleshooting

Symptom

Likely cause

Fix

LICENSE_NOT_FOUND

Claude connected under a different email or team than the paid plan. The connection keeps the email and team from your first login

Match the email and team to the paid subscription. In Claude’s Connectors list, disconnect Supermetrics, reconnect and choose that team

Claude answers from another team or another tool

A different team was picked at first login, or several data tools are connected

Reconnect Supermetrics in Connectors with the correct team, and include “use Supermetrics” in the prompt

“No accounts found”

Piano Analytics has no account list in Supermetrics, so the sites come from the IDs saved in the login

Re-check the site ID in the login

Piano Analytics isn’t authorized

The login was never created, or it needs renewing

Ask Claude for the Piano Analytics login link, or reconnect in the Hub, then run the query again

A query that worked before now fails

The Piano Analytics login may need renewing

Reconnect Piano Analytics in the Hub first

The Hub rejects the login

A site ID, access key or secret key is missing or mistyped

Create the key under the API Keys tab of your Piano profile and copy both the access key and the secret key

Data for one site is missing

The site ID isn’t in the comma-separated list

Look up the ID as described in Before you start and add it to the login

You can’t tell your logins apart

Several Piano logins with similar names

Rename them clearly in the Hub

Still stuck

Something else

Contact support through the Supermetrics Hub

Is it safe? Security and data handling

  • For each query, Supermetrics fetches the fields you asked for from Piano Analytics and returns them to Claude. Whatever appears in the results is visible in the chat.
  • Through this connector, Claude reads Piano Analytics data only. It can’t change your tag, sites, segments or data model.
  • You give Supermetrics a site ID, an access key and a secret key. Create a key just for Supermetrics, as the guide’s example does, so you can revoke it on its own.
  • performance__user_id and the visitor-level IDs identify people. Leave them out unless you need them.
  • AI chats data-source connections are shared by default. 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.

Related connectors

Send Piano Analytics data to BigQuery: keep a stored copy for SQL

Build Piano Analytics dashboards in Looker Studio: scheduled reports for stakeholders

Pull Piano Analytics into Google Sheets: spreadsheet analysis of traffic

Ask Claude about Piwik PRO: a second analytics source for side-by-side checks

Add Google Search Console to Claude: organic search clicks beside site visits

Supermetrics for Claude: every source you can ask Claude about

FAQ

Connect Piano Analytics to Claude

Add the Supermetrics connector, enter your Piano site ID and keys, and ask your first question about visits by source.