Linking CleverTap 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.

Learn more
PostHog Wizard hedgehog

The CleverTap connector syncs events, profiles, campaigns, message reports, and content blocks into the PostHog data warehouse. This is useful for retention analysis, campaign attribution, and combining CleverTap engagement data with your product analytics.

Prerequisites

  • A CleverTap account with API access enabled.
  • Your Account ID – find it in the CleverTap dashboard under Settings > Account.
  • Your Passcode – find it in the CleverTap dashboard under Settings > Passcode.
  • The name of the event you want to sync.
  • Knowledge of which region your CleverTap account is in.

Adding a data source

  1. In PostHog, go to the Sources tab of the data pipeline section.
  2. Click + New source and click Link next to this source.
  3. Enter your credentials (see Configuration below) and click Next.
  4. Select the tables you want to sync, choose a sync method and frequency, then click Import.

Once the syncs are complete, you can start querying this data in PostHog.

You'll be asked for:

  • Account ID – your CleverTap account identifier.

  • Passcode – your CleverTap API passcode.

  • Region – the region your CleverTap account is hosted in:

    • Europe (eu1) – default
    • United States (us1)
    • India (in1)
    • Singapore (sg1)
    • Indonesia (aps3)
    • United Arab Emirates (mec1)
  • Event name – the CleverTap event to export (for example, App Launched).

  • Start date – the earliest date to export, in YYYY-MM-DD format. The export runs from this date through yesterday (UTC).

Sync modes

Each table can be synced in one of several modes, depending on what the source supports:

  • Webhook (when available) – the source pushes changes to PostHog in real time. Fastest freshness, lowest ongoing cost, and the only mode that reliably captures updates and deletes.
  • Incremental – only new or updated rows are synced on each run, using a cursor field (such as an updated_at timestamp). Cheaper than a full refresh, but deletes aren't captured.
  • Append only – new rows are appended using a cursor field; existing rows are never updated. Ideal for immutable, append-only tables like event logs.
  • Full refresh – the whole table is reloaded on every sync. Use it when a table has no reliable cursor or when you need deletions reflected.

See sync methods for a full explanation of how each mode works and how to choose between them.

All CleverTap tables use full refresh. Each sync replaces the contents of the table.

Available tables

TableDescriptionSync method
eventsOccurrences of the configured CleverTap event within the export date rangeFull refresh
profilesProfiles of users who performed the configured event within the export date rangeFull refresh
message_reportsMessages that started within the configured date range, with channel, status, and delivery metricsFull refresh
campaignsCampaigns created through the API and scheduled within the configured date rangeFull refresh
campaign_reportsDelivery and click metrics for each completed campaign created through the APIFull refresh
content_blocksReusable content blocks with their content, creator, and update detailsFull refresh

Events columns

ColumnDescription
event_nameThe event name selected for this connection
tsEvent time in account time, stored as a YYYYMMDDHHMMSS integer
event_dateThe event date in account time, derived from ts for partitioning
profileUser identifiers, platform, and profile properties for this event
eventsEvent summaries returned by CleverTap for this user
event_propsProperties associated with this event occurrence
session_propsSession metadata and campaign attribution properties

Profiles columns

ColumnDescription
identityThe custom user identifier, when the account has assigned one
emailThe user email address, when available
nameThe user name, when available
profileDataCustom profile properties and channel subscription preferences
platformInfoDevice and platform metadata, including platform object IDs
eventsLifetime event counts and the first and last occurrence times for each event

Message reports columns

ColumnDescription
message_idUnique identifier for the message
message_nameThe name of the campaign
dataDelivery metrics (sent, viewed, clicked), aggregated over the date range
start_dateThe campaign start date and time, without the year (for example, Oct 18, 4:08 PM)
devicePlatforms targeted by the campaign
conversion_eventThe event configured as the conversion goal, or null
labelsLabels assigned to the campaign
statusCurrent status of the campaign: scheduled, running, stopped, or completed
channelThe channel used by the campaign, as a display name (for example, InApp)
deliveryThe delivery type of the campaign, as a display name

Campaigns columns

ColumnDescription
idUnique identifier for the campaign
nameName of the campaign as specified at creation
scheduled_onScheduled date and time in account time, stored as a YYYYMMDDHHMM integer
statusCurrent status: scheduled, pending, running, paused, stopped, or completed

Campaign reports columns

ColumnDescription
campaign_idIdentifier of the campaign this report belongs to
campaign_nameName of the campaign
scheduled_onScheduled date and time of the campaign in account time, as a YYYYMMDDHHMM integer
sentNumber of messages attempted to be sent
clickedNumber of users who clicked the message

Content blocks columns

ColumnDescription
idUnique identifier for the content block
nameName of the content block
typeContent type of the block: html or text
contentThe content of the block
createdByEmail address of the user who created the block
createdAtTime the block was created, in ISO 8601 format
updatedByEmail address of the user who last updated the block
updatedAtTime the block was last updated, in ISO 8601 format

Sync limitations

  • The connector exports a single event at a time. To sync multiple events, create a separate source for each one.

  • Profiles include only users who performed the configured event within the date range.

  • CleverTap excludes the following notification lifecycle events from event exports:

    • Notification Sent
    • Notification Bounce
    • Notification Control Group
    • Notification Rendered
    • Notification System Control Group
  • Event timestamps use account time, not UTC.

  • Some CleverTap accounts allow only one message report request each hour. If you're syncing the message_reports table, use an hourly or slower sync schedule to avoid rate limiting errors.

Troubleshooting

  • Invalid credentials – check that your Account ID and Passcode are correct and haven't been rotated.

  • Permission errors – check that your CleverTap account has API access enabled and that you selected the correct region.

  • Export errors – check the event name, date range, and API access. CleverTap rejects exports for unsupported notification events.

  • Cursor errors – if an export cursor expires or becomes invalid, reset the table sync to start a new export.

  • Rate limiting errors – if you receive 429 errors when syncing message_reports, your account may be limited to one request per hour. Use an hourly or slower sync schedule.

If your sync is failing or data looks wrong, see the Data warehouse troubleshooting guide. If that doesn't help, contact support – we're happy to help.

Configuration

OptionTypeRequired
Account IDpasswordYes
PasscodepasswordYes
RegionselectYes
Event nametextYes
Start date (YYYY-MM-DD)textYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
events

Occurrences of the selected event within the configured date range.

Full refresh——
profiles

Profiles of users who performed the selected event within the configured date range.

Full refresh——
message_reports

Messages that started within the configured date range, with channel, status, and delivery metrics. Some CleverTap accounts allow one message report request each hour, so use an hourly or slower schedule.

Full refresh——
campaigns

Campaigns created through the API and scheduled within the configured date range.

Full refresh——
campaign_reports

Delivery and click metrics for each completed campaign created through the API.

Full refresh——
content_blocks

Reusable content blocks with their content, creator, and update details.

Full refresh——

Still have questions?

Was this page useful?