Platform features Product usage with ChartMogul.js

See product usage and spend for every customer

Add one snippet to your app. ChartMogul records who signs in and when, on the same customer records that hold their MRR, plan, and conversations.

Read the install guide

Track engagement over time

Active Users and Active Accounts show how many people and customer accounts use your product each day, week, month, or quarter. Filter by plan, country, or any segment to see where usage is rising or falling and how those trends compare with revenue growth.

Usage on every customer record

Each signed-in user becomes a contact on the right customer, created and kept up to date without an import. When a renewal is coming up, your sales and customer success teams can see how usage has changed and review the account’s MRR, renewal date, emails, and notes before the conversation.

Ask how usage connects to revenue

ChartMogul AI combines product usage with your revenue and CRM data, so you can ask questions that cross all three. The same data is available in Claude and ChatGPT through the MCP server.

Set up in three steps

You’ll need someone who can edit your app’s HTML and pass in the signed-in user’s details.

  1. Choose a source and a trusted domain

    In ChartMogul, go to Settings › Data & Integrations › ChartMogul.js.

  2. Add the snippet

    Paste it into the <head> of your app. It loads asynchronously.

  3. Identify the user

    After sign-in, pass the company and user details:

    ChartMogul('init', {
      company_account_id: account.id,
      company_name: account.name,
      user_email: user.email
    })
Read the install guide

Questions about ChartMogul.js

What does ChartMogul.js collect?

For each signed-in user, it records their company’s name and ID, their name and email, and when they were last seen. It also adds a location based on their IP address, and their device and browser. You can optionally pass when the company became a lead, when its free trial started, and when the user signed up.

Does it work with single-page apps?

Yes. Call init once the user signs in, and ChartMogul.js updates the record each time they move to a new page. Call destroy when they sign out. Multi-page apps put the user’s details in the snippet on each signed-in page instead.

Can other sites send data to my account with the snippet?

Not once you set a trusted domain. ChartMogul only accepts data from that domain and its subdomains, so we recommend setting one when you install the snippet.

Can I send usage data without the snippet?

Yes. You can set a contact’s last seen date through the ChartMogul API, and it counts toward Active Users and Active Accounts the same way.