• EVENTS
  • VISITS
  • ANONYMOUS
  • HUMAN

How to track user behavior and events with your AI

Connect your agent to Customer.io to log live activity and custom actions directly into your marketing data.

Ask AI about this page

Short answer

How can I track user behavior and events with my AI?

Your agent sends page views, screen changes, and custom user actions to Customer.io in real time. This lets you trigger automated messages based on what people do in your app. You'll see how these actions map to your data below.

Data destinations

Where your data lands.

Every action your agent takes maps to a specific destination in Customer.io.

EVENTS

Custom user actions

The AI sends specific event data for things like button clicks or signups. These show up as events in your Customer.io dashboard.

VISITS

Page and screen views

Your agent logs when a user hits a specific URL or moves through different app screens. This builds your activity history.

ANONYMOUS

Unidentified activity

You can track behavior from users who haven't logged in yet. This helps you capture top-of-funnel interest.

HUMAN

Manual review needed

If an event requires complex logic or sensitive data changes, the AI will stop and ask you for permission first.

The workflow

What your AI does when <the thing arrives>.

The AI acts as the bridge between your user's live session and your Customer.io account.

  1. Capture page views

    The agent identifies when a user navigates to a new URL and sends that data immediately.

    pipeline_page
  2. Log app screens

    For mobile or single-page apps, the agent tracks transitions between different interface screens.

    pipeline_screen
  3. Record custom events

    The AI sends specific, named actions like 'completed_tutorial' or 'added_to_cart' to your event stream.

    track_customer_event
  4. Track guest activity

    The agent logs interactions for users without an established profile to help with early attribution.

    track_anonymous_event

Try it

Copy these to start.

Use these prompts to begin sending data to Customer.io.

Starting points

Swap the bracketed text for your actual app names or event types.

Customer.io Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_O0vwcwVPcG3BZcvkFoFfrCi7lqsaNS7R3sAM5uEa/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Customer.io capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "customerio-alternative-1-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_O0vwcwVPcG3BZcvkFoFfrCi7lqsaNS7R3sAM5uEa/mcp"
    }
  }
}
Copy into chat04
  • Track a page view in Customer.io for the /pricing page.

  • Log a custom event called 'subscription_started' for the current user.

  • Track an anonymous event when a user visits the landing page.

  • Send a screen view event for the 'Settings' dashboard.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Customer.io once, then ask.

Just link your account once. Your credentials stay encrypted, and you can start using the tools immediately in any compatible client.

Connect Customer.io to your AI

FAQ

How this task behaves.

  • 01

    Can the AI delete existing users in Customer.io?

    No. The available tools only allow for tracking and logging data, not deleting or modifying existing user records.

  • 02

    Does the AI automatically create segments?

    No. The AI sends the event data, but you must set up the actual segments and liquid logic within the Customer.io interface.

  • 03

    Can I track events for users who aren't logged in?

    Yes. You can use the tool designed for anonymous activity to capture data before a user identifies themselves.

  • 04

    Will the AI send data without me knowing?

    The AI only executes the tracking tools when you give it a direct instruction or when it is part of a specific task you've initiated.

  • 05

    Can the AI change a user's email address?

    No. There are no tools provided to update or change user profile attributes like email or name.

  • More questions about Customer.io? See everything the Customer.io Connector can do

Connect Customer.io to Claude, Cursor, ChatGPT & more