GTM template with instructions video from Simo Ahava!

GTM template with instructions video from Simo Ahava!

AI & Tracklution MCP

Last updated Oct 27, 2026

Using Tracklution with AI Assistants (MCP)

Tracklution's MCP integration lets you connect AI assistants that supports MCP directly to your Tracklution account. Once connected, you can query your tracking data, check your setup, and get insights in plain language, without opening the dashboard.

This article explains what the MCP integration does, how to connect it, and what you can ask once it's set up.

Video Overview (analytics use-case with Claude)

What is MCP?

MCP (Model Context Protocol) is an open standard that allows AI assistants to securely connect to external tools and data sources. When you add Tracklution as an MCP server, your AI assistant gains the ability to read your tracking data and interact with your account directly.

Think of it as giving your AI assistant read access to your Tracklution dashboard, so you can ask questions like "how did my site perform last week?" or "which source drove the most signups?" and get a direct answer, without clicking through reports.

Connect Tracklution to your AI assistant

To connect Tracklution as an MCP server, you need the MPC server URL:

  • The MCP server URL: https://mcp.tracklution.com/mcp

Connect Tracklution MCP (Claude UI example)

  1. Open Claude and go to Customize and select Connectors.
  2. Add a new MCP by clicking the plus icon.
  3. Click "Add custom connector"
  4. Name the connector and enter The MCP server URL https://mcp.tracklution.com/mcp
  5. Connect your Tracklution account when prompted by logging in
  6. Click "Connect" and return to your conversation.

Install with a single prompt

Drop this into Cursor, Claude Code, Codex, Windsurf, Cline, Lovable, Replit, or Bolt. The agent reads our install protocol, mounts the Tracklution MCP, and finishes the setup.

  • The prompt Install Tracklution
  • Or the URL-anchored variant if the agent doesn't recognise the brand: Install Tracklution tracking - see https://www.tracklution.com/agent-install.md

What you can ask

Once the MCP is connected, you can ask your AI assistant questions about your tracking data in plain language. Below are the most useful things you can do.

Get a performance snapshot

Ask for a high-level summary of your tracking results over any date range.

Example prompts:

  • "How did my website perform last week?"
  • "How many events were recorded in May? What was the total value?"
  • "What's my event recovery rate for the last 30 days?"

The assistant will return totals including event count, conversion value, email and phone coverage, consent stats, and a breakdown by traffic source.

Break down performance by source or event type

Drill into your data by traffic source, event name, device, browser, or day.

Example prompts:

  • "Which traffic source drove the most conversions last month?"
  • "Show me a breakdown of all event types tracked this week."
  • "Compare Google Ads vs. Facebook performance for purchases in May."
  • "How did conversion volume trend day by day last week?"

Filter raw events by ad click ID

Look for events that arrived with a specific platform's click ID, useful for verifying that clicks from a particular ad platform are being tracked correctly.

Example prompts:

  • "Show me purchase events from the last 7 days that have a Google Ads click ID."
  • "Are there any events from Facebook traffic in the last 3 days?"
  • "List recent events that came in with a TikTok click ID."

Supported click ID filters include: Google Ads (gclid), Meta (fbclid), Microsoft (msclkid), LinkedIn (li_fat_id), TikTok (ttclid), Pinterest (epik), Reddit (rdt_cid), and Snapchat (scclid).

Check your containers and connectors

Ask the assistant to list your tracked sites or inspect what's set up on a specific container.

Example prompts:

  • "Which Tracklution containers do I have access to?"
  • "What events are tracked on website B?"
  • "Which ad platform connectors are active on my main container?"

Check your connection status

Verify that the MCP connection is working and your API key is valid.

Example prompts:

  • "Is my Tracklution connection working?"
  • "Which API key am I connected with, and how many containers can it access?"

Deep analytics with Tracklution's analytics engine

Tracklution has its own dedicated analytics engine that stores your sessions and events in a format built for fast analysis. Through the MCP, your AI assistant can use it to build custom reports over long date ranges, compare periods, see what's happening on your site in real time, and trace any single session or event, including which ad platforms it was delivered to.

Think of it as a full analytics tool you can talk to: ask a question in plain language and get the report, without building it yourself.

Build custom reports

Ask for any combination of breakdowns and metrics, for one period or two periods side by side. You can break data down by channel, source / medium, campaign, keyword, ad content, landing page, exit page, page, country, device, browser, operating system, and new vs. returning visitors.

Example prompts:

  • "Show sessions, users and conversions by channel for the last 90 days."
  • "Compare this month to last month by source / medium."
  • "Which landing pages had the highest bounce rate last month?"
  • "Which campaigns brought the most new visitors in the last 6 months?"

Run standard reports

Get a quick overview with the four standard reports: Audience, Acquisition, Behavior and Conversions. Each compares the last 28 full days to the 28 days before.

Example prompts:

  • "Show me the Acquisition report for website A."
  • "Run the Conversions report and tell me what changed."

See what's happening right now

Check activity on your site over the last 30 minutes.

Example prompts:

  • "How many people are on my site right now?"
  • "Which pages are getting traffic right now?"
  • "Have any purchase events come in during the last 30 minutes?"

The assistant will return active users, events and pageviews, broken down by page, event, source / medium, channel, country or device.

Look up individual sessions and events

Search sessions and events with the same filters as reports, then open one to see the details.

Example prompts:

  • "List yesterday's sessions from Facebook that landed on the pricing page."
  • "Find the purchase event for order 10452. Was it delivered to Meta and Google Ads?"
  • "Show purchase events over 200 EUR from the last 7 days."
  • "Open session VS123456 and show the pages the visitor viewed."

A session shows its traffic sources, the pages viewed in order and its events. An event shows its page, value, currency and which ad platforms it was sent to.

Setting up tracking via an AI coding assistant

If you're a developer using an AI coding assistant, the Tracklution MCP also supports guided installation of tracking on a new website. The assistant can:

  • Detect your site's platform and framework
  • Provision a new Tracklution container
  • Generate and apply the correct tracking snippets to your codebase
  • Verify that events are being received

This flow is intended for technical users working in a code editor. To start, simply tell your AI assistant that you want to set up Tracklution tracking on your website and provide your site URL.

Note

The AI-assisted setup flow creates a new container in your Tracklution account. If you already have a container for the site, the assistant will use that instead.

Things to keep in mind

Data retention for raw event queries Data history Reports, sessions and events are available from late April 2026 onwards. Searches filtered by click ID cover approximately the last 14 days.

PII is never exposed to AI assistants Personally identifiable information (PII), such as emails and phone numbers, is not accessible through the MCP integration. The assistant can analyze tracking data and setups, but cannot search or reveal individual users.

Date ranges are capped at 400 days Date ranges Reports support up to 400 days per date range, or 90 days when broken down by page. The performance snapshot supports up to 30 days per request.

The assistant reads your data, it does not modify it The MCP integration is read-only for analytics queries. The only actions that modify your account are part of the installation flow (creating a container, selecting an installation method), and these only happen when you explicitly ask the assistant to set up tracking.

Multiple containers If your API key has access to more than one container, the assistant should ask which site you're referring to, else you can specify it in your prompt (e.g. "for website A, website B, etc").

For AI coding agents: Tracklution publishes a step-by-step install contract designed for Cursor, Claude Code, Codex, Windsurf, Cline, Lovable, Replit, and Bolt. Fetch and follow tracklution.com/agent-install.md - or just tell your agent: 'Install Tracklution.'

Server-Side Tracking, First-Party Cookies and Conversion APIs for any website with easy installation. Simple yet powerful tracking tool for digital advertising.

Tracklution customer rating badgeTracklution customer rating badge

4.8+ Rating on G2 and Trustpilot

Helsinki

Simonkatu 6 A
00100 Helsinki, Finland

New York

307 W 38th St
NY 11105, United States

Meta partner badge
Google partner badge
Meta partner badge

For AI coding agents: read www.tracklution.com/agent-install.md for one-shot install, or tell your agent: “Install Tracklution.”

© Tracklution Oy 2026. All rights reserved.