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.

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
- In PostHog, go to the Sources tab of the data pipeline section.
- Click + New source and click Link next to this source.
- Enter your credentials (see Configuration below) and click Next.
- 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)
- Europe (
Event name – the CleverTap event to export (for example,
App Launched).Start date – the earliest date to export, in
YYYY-MM-DDformat. 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_attimestamp). 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
| Table | Description | Sync method |
|---|---|---|
events | Occurrences of the configured CleverTap event within the export date range | Full refresh |
profiles | Profiles of users who performed the configured event within the export date range | Full refresh |
message_reports | Messages that started within the configured date range, with channel, status, and delivery metrics | 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 |
Events columns
| Column | Description |
|---|---|
event_name | The event name selected for this connection |
ts | Event time in account time, stored as a YYYYMMDDHHMMSS integer |
event_date | The event date in account time, derived from ts for partitioning |
profile | User identifiers, platform, and profile properties for this event |
events | Event summaries returned by CleverTap for this user |
event_props | Properties associated with this event occurrence |
session_props | Session metadata and campaign attribution properties |
Profiles columns
| Column | Description |
|---|---|
identity | The custom user identifier, when the account has assigned one |
email | The user email address, when available |
name | The user name, when available |
profileData | Custom profile properties and channel subscription preferences |
platformInfo | Device and platform metadata, including platform object IDs |
events | Lifetime event counts and the first and last occurrence times for each event |
Message reports columns
| Column | Description |
|---|---|
message_id | Unique identifier for the message |
message_name | The name of the campaign |
data | Delivery metrics (sent, viewed, clicked), aggregated over the date range |
start_date | The campaign start date and time, without the year (for example, Oct 18, 4:08 PM) |
device | Platforms targeted by the campaign |
conversion_event | The event configured as the conversion goal, or null |
labels | Labels assigned to the campaign |
status | Current status of the campaign: scheduled, running, stopped, or completed |
channel | The channel used by the campaign, as a display name (for example, InApp) |
delivery | The delivery type of the campaign, as a display name |
Campaigns columns
| Column | Description |
|---|---|
id | Unique identifier for the campaign |
name | Name of the campaign as specified at creation |
scheduled_on | Scheduled date and time in account time, stored as a YYYYMMDDHHMM integer |
status | Current status: scheduled, pending, running, paused, stopped, or completed |
Campaign reports columns
| Column | Description |
|---|---|
campaign_id | Identifier of the campaign this report belongs to |
campaign_name | Name of the campaign |
scheduled_on | Scheduled date and time of the campaign in account time, as a YYYYMMDDHHMM integer |
sent | Number of messages attempted to be sent |
clicked | Number of users who clicked the message |
Content blocks columns
| Column | Description |
|---|---|
id | Unique identifier for the content block |
name | Name of the content block |
type | Content type of the block: html or text |
content | The content of the block |
createdBy | Email address of the user who created the block |
createdAt | Time the block was created, in ISO 8601 format |
updatedBy | Email address of the user who last updated the block |
updatedAt | Time 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_reportstable, 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
| Option | Type | Required |
|---|---|---|
Account ID | password | Yes |
Passcode | password | Yes |
Region | select | Yes |
Event name | text | Yes |
Start date (YYYY-MM-DD) | text | Yes |
Supported tables
| Table | Description | Sync method | Incremental field | Primary 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 | — | — |





