Linking ChartMogul as a source

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

PostHog Wizard hedgehog

The ChartMogul connector syncs your subscription analytics data – such as customers, subscriptions, plans, invoices, activities, CRM records, and metrics – into PostHog. The supported tables section lists all tables and their sync methods.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.
  2. Click + New source and then click Link next to ChartMogul.
  3. Next, you need an API key from ChartMogul. You can find it in your ChartMogul admin settings. Copy the API key value.
  4. Back in PostHog, enter the credentials and click Next.
  5. Select the tables you want to sync, set the sync method and frequency, then click Import.

Once the syncs are complete, you can start using ChartMogul data in PostHog.

Configuration

OptionTypeRequired
API keypasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
customers

A ChartMogul customer aggregating subscription and billing activity.

Full refresh——
customer_subscriptions

A subscription held by a customer, listed per customer.

Full refresh——
plans

A billing plan that subscriptions are sold against.

Full refresh——
plan_groups

A grouping of related plans for combined reporting.

Full refresh——
plan_group_plans

Membership of plans in plan groups: one row for each plan in each plan group.

Full refresh——
contacts

A person associated with a ChartMogul customer.

Full refresh——
tasks

A CRM task assigned to a team member for a customer.

Full refresh——
invoices

An invoice imported into ChartMogul, with its line items and transactions.

Full refresh——
activities

A subscription activity (new business, expansion, churn, etc.) tracked by ChartMogul.

Incremental, Full refreshdate—
data_sources

A configured ChartMogul data source that billing data is imported through.

Full refresh——
subscription_events

A subscription state transition (started, updated, cancelled, or retracted) recorded by ChartMogul.

Full refresh——
opportunities

A sales pipeline deal tracked in ChartMogul's CRM, with its value, stage, and forecast.

Full refresh——
metrics

ChartMogul's headline subscription metrics for each interval in the reporting period.

Full refresh——
metrics_mrr

Monthly recurring revenue for each interval, broken down into the movements that produced it.

Full refresh——

Still have questions?

Was this page useful?