# Pardot (v1)

Information note **Pardot extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) Pardot tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-pardot).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

## Pardot integration summary

Stitch’s Pardot integration replicates data using the [Pardot API](http://developer.pardot.com/#official-pardot-api-documentation). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#schema) section for a list of objects available for replication.

## Pardot feature snapshot

A high-level look at Stitch's Pardot (v1) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Released on February 12, 2020 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-pardot](https://github.com/singer-io/tap-pardot) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting Pardot

### Pardot setup requirements

To set up Pardot in Stitch, you need:

* **A user with a preferred timezone of UTC.** This is required to ensure you don’t encounter Extraction errors during Daylight Savings Time, as some Replication Key fields used by Stitch are reported in Pardot using the user’s preferred timezone. By using UTC, this ensures that time data is accurately reported during extraction. Otherwise, you might encounter [Extraction errors during Daylight Savings Time](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/pardot-extraction-error-reference#out-of-order-data).

### Step 1: Retrieve your Pardot business unit ID

1. Sign into your Salesforce account.
2. Navigate to the **Setup** page.
3. Go to **Account Engagement** &gt; **Business Unit Setup**.
4. The setup page will display. Copy your Pardot Business Unit ID and keep it readily available for the next step.

### Step 2: Add Pardot as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **Pardot** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch Pardot” would create a schema called `stitch_pardot` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. In the **Pardot Business Unit Id** field, paste your Business Unit ID that you copied in [Step 1](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#retrieve-business-unit).

### Step 3: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Pardot integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Pardot’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 4: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Pardot integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 5: Authorize Stitch to access Pardot

1. When finished in the **Integration Settings** page, click the **Authorize** button. You’ll be prompted to sign into your Pardot account.
2. Sign into your Pardot account.
3. After the authorization process is successfully completed, you’ll be directed back to Stitch.
4. Click **All Done**.

### Step 6: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For Pardot integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up Pardot, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Pardot table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 1** of this integration.

This is the latest version of the Pardot integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### campaigns

The `campaigns` table contains info about the campaigns in your Pardot account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | id |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#campaign "Opens in new tab: Pardot documentation")<br><br><br>[campaigns schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/campaigns.json "Opens in new tab: campaigns schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/campaigns/ "Opens in new tab: Pardot API method") |

campaigns table foreign keys

| Join campaigns with | on |
| --- | --- |
| [opportunities](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#opportunities) | ```<br>campaigns.id = opportunities.campaign_id<br>``` |
| [prospects](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#prospects) | ```<br>campaigns.id = prospects.campaign_id<br>``` |

campaigns table schema

| **cost**<br><br><br>INTEGER |
| --- |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |

### email\_clicks

The `email_clicks` table contains info about email click events.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | created\_at |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#email-clicks "Opens in new tab: Pardot documentation")<br><br><br>[email_clicks schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/email_clicks.json "Opens in new tab: email_clicks schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/batch-email-clicks/ "Opens in new tab: Pardot API method") |

email\_clicks table foreign keys

| Join email\_clicks with | on |
| --- | --- |
| [visitor_activities](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visitor-activities) | ```<br>email_clicks.email_template_id = visitor_activities.email_template_id<br>```<br><br>```<br>email_clicks.list_email_id = visitor_activities.list_email_id<br>```<br><br>```<br>email_clicks.prospect_id = visitor_activities.prospect_id<br>``` |
| [list_memberships](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#list-memberships) | ```<br>email_clicks.prospect_id = list_memberships.prospect_id<br>``` |
| [prospects](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#prospects) | ```<br>email_clicks.prospect_id = prospects.id<br>``` |
| [visits](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visits) | ```<br>email_clicks.prospect_id = visits.prospect_id<br>``` |

email\_clicks table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **drip\_program\_action\_id**<br><br><br>INTEGER |
| **email\_template\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **list\_email\_id**<br><br><br>INTEGER |
| **prospect\_id**<br><br><br>INTEGER |
| **tracker\_redirect\_id**<br><br><br>INTEGER |
| **url**<br><br><br>STRING |

### list\_memberships

The `list_memberships` table contains info about list memberships.

**Note**: To replicate this table, the [`lists`](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#lists) table must also be set to replicate.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Keys ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | id<br><br>list\_id<br><br>updated\_at |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#list-membership "Opens in new tab: Pardot documentation")<br><br><br>[list_memberships schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/list_memberships.json "Opens in new tab: list_memberships schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/list-memberships/ "Opens in new tab: Pardot API method") |

list\_memberships table foreign keys

| Join list\_memberships with | on |
| --- | --- |
| [lists](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#lists) | ```<br>list_memberships.list_id = lists.id<br>``` |
| [email_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#email-clicks) | ```<br>list_memberships.prospect_id = email_clicks.prospect_id<br>``` |
| [prospects](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#prospects) | ```<br>list_memberships.prospect_id = prospects.id<br>``` |
| [visitor_activities](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visitor-activities) | ```<br>list_memberships.prospect_id = visitor_activities.prospect_id<br>``` |
| [visits](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visits) | ```<br>list_memberships.prospect_id = visits.prospect_id<br>``` |

list\_memberships table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **id**<br><br><br>INTEGER |
| **list\_id**<br><br><br>INTEGER |
| **opted\_out**<br><br><br>INTEGER |
| **prospect\_id**<br><br><br>INTEGER |
| **updated\_at**<br><br><br>DATE-TIME |

### lists

The `lists` table contains info about the lists in your Pardot account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#list "Opens in new tab: Pardot documentation")<br><br><br>[lists schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/lists.json "Opens in new tab: lists schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/lists/ "Opens in new tab: Pardot API method") |

lists table foreign keys

| Join lists with | on |
| --- | --- |
| [list_memberships](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#list-memberships) | ```<br>lists.id = list_memberships.list_id<br>``` |

lists table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **description**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **is\_crm\_visible**<br><br><br>BOOLEAN |
| **is\_dynamic**<br><br><br>BOOLEAN |
| **is\_public**<br><br><br>BOOLEAN |
| **name**<br><br><br>STRING |
| **title**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### opportunities

The `opportunities` table contains info about the opportunities in your Pardot account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Keys ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | id<br><br>updated\_at |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#opportunity "Opens in new tab: Pardot documentation")<br><br><br>[opportunities schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/opportunities.json "Opens in new tab: opportunities schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/opportunities/ "Opens in new tab: Pardot API method") |

opportunities table foreign keys

| Join opportunities with | on |
| --- | --- |
| [campaigns](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#campaigns) | ```<br>opportunities.campaign_id = campaigns.id<br>``` |
| [prospects](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#prospects) | ```<br>opportunities.campaign_id = prospects.campaign_id<br>``` |

opportunities table schema

| **campaign\_id**<br><br><br>INTEGER |
| --- |
| **closed\_at**<br><br><br>DATE-TIME |
| **created\_at**<br><br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **probability**<br><br><br>INTEGER |
| **stage**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **value**<br><br><br>NUMBER |

### prospect\_accounts

The `prospect_accounts` table contains info about prospect accounts.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#prospect-account "Opens in new tab: Pardot documentation")<br><br><br>[prospect_accounts schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/prospect_accounts.json "Opens in new tab: prospect_accounts schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/prospect-accounts/ "Opens in new tab: Pardot API method") |

prospect\_accounts table foreign keys

| Join prospect\_accounts with | on |
| --- | --- |
| [users](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#users) | ```<br>prospect_accounts.assigned_to.user.id = users.id<br>``` |

prospect\_accounts table schema

| **assigned\_to**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand assigned\_to<br><br><table> <tr> <td> <p> <strong>								user							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand user</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								account							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								first_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								job_tile							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								last_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								role							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								updated_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| --- |
| **created\_at**<br><br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### prospects

The `prospects` table contains info about the prospects in your Pardot account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#prospect "Opens in new tab: Pardot documentation")<br><br><br>[prospects schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/prospects.json "Opens in new tab: prospects schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/prospects/#supported-operations_1 "Opens in new tab: Pardot API method") |

prospects table foreign keys

| Join prospects with | on |
| --- | --- |
| [campaigns](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#campaigns) | ```<br>prospects.campaign_id = campaigns.id<br>``` |
| [opportunities](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#opportunities) | ```<br>prospects.campaign_id = opportunities.campaign_id<br>``` |
| [email_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#email-clicks) | ```<br>prospects.id = email_clicks.prospect_id<br>``` |
| [list_memberships](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#list-memberships) | ```<br>prospects.id = list_memberships.prospect_id<br>``` |
| [visitor_activities](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visitor-activities) | ```<br>prospects.id = visitor_activities.prospect_id<br>``` |
| [visits](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visits) | ```<br>prospects.id = visits.prospect_id<br>``` |

prospects table schema

| **address\_one**<br><br><br>STRING |
| --- |
| **address\_two**<br><br><br>STRING |
| **annual\_revenue**<br><br><br>STRING |
| **campaign\_id**<br><br><br>INTEGER |
| **city**<br><br><br>STRING |
| **comments**<br><br><br>STRING |
| **company**<br><br><br>STRING |
| **country**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **crm\_account\_fid**<br><br><br>STRING |
| **crm\_contact\_fid**<br><br><br>STRING |
| **crm\_last\_sync**<br><br><br>DATE-TIME |
| **crm\_lead\_fid**<br><br><br>STRING |
| **crm\_owner\_fid**<br><br><br>STRING |
| **crm\_url**<br><br><br>STRING |
| **department**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **employees**<br><br><br>STRING |
| **fax**<br><br><br>STRING |
| **first\_name**<br><br><br>STRING |
| **grade**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **industry**<br><br><br>STRING |
| **is\_do\_not\_call**<br><br><br>BOOLEAN |
| **is\_do\_not\_email**<br><br><br>BOOLEAN |
| **is\_reviewed**<br><br><br>BOOLEAN |
| **is\_starred**<br><br><br>BOOLEAN |
| **job\_title**<br><br><br>STRING |
| **last\_activity\_at**<br><br><br>DATE-TIME |
| **last\_name**<br><br><br>STRING |
| **notes**<br><br><br>STRING |
| **opted\_out**<br><br><br>BOOLEAN |
| **password**<br><br><br>STRING |
| **phone**<br><br><br>STRING |
| **prospect\_account\_id**<br><br><br>INTEGER |
| **recent\_interaction**<br><br><br>STRING |
| **salutation**<br><br><br>STRING |
| **score**<br><br><br>INTEGER |
| **source**<br><br><br>STRING |
| **state**<br><br><br>STRING |
| **territory**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **website**<br><br><br>STRING |
| **years\_in\_business**<br><br><br>STRING |
| **zip**<br><br><br>STRING |

### users

The `users` table contains info about the users in your Pardot account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Keys ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | id<br><br>updated\_at |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#user "Opens in new tab: Pardot documentation")<br><br><br>[users schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/users.json "Opens in new tab: users schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/users/ "Opens in new tab: Pardot API method") |

users table foreign keys

| Join users with | on |
| --- | --- |
| [prospect_accounts](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#prospect-accounts) | ```<br>users.id = prospect_accounts.assigned_to.user.id<br>``` |

users table schema

| **created\_at**<br><br><br>DATE-TIME |
| --- |
| **email**<br><br><br>STRING |
| **first\_name**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **job\_title**<br><br><br>STRING |
| **last\_name**<br><br><br>STRING |
| **role**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### visitor\_activities

The `visitor_activities` table contains info about visitor activities.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | id |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#visitor-activity "Opens in new tab: Pardot documentation")<br><br><br>[visitor_activities schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/visitor_activities.json "Opens in new tab: visitor_activities schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/visitor-activities/ "Opens in new tab: Pardot API method") |

visitor\_activities table foreign keys

| Join visitor\_activities with | on |
| --- | --- |
| [email_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#email-clicks) | ```<br>visitor_activities.email_template_id = email_clicks.email_template_id<br>```<br><br>```<br>visitor_activities.list_email_id = email_clicks.list_email_id<br>```<br><br>```<br>visitor_activities.prospect_id = email_clicks.prospect_id<br>``` |
| [list_memberships](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#list-memberships) | ```<br>visitor_activities.prospect_id = list_memberships.prospect_id<br>``` |
| [prospects](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#prospects) | ```<br>visitor_activities.prospect_id = prospects.id<br>``` |
| [visits](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visits) | ```<br>visitor_activities.prospect_id = visits.prospect_id<br>```<br><br>```<br>visitor_activities.visitor_id = visits.visitor_id<br>``` |
| [visitors](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visitors) | ```<br>visitor_activities.visitor_id = visitors.id<br>``` |

visitor\_activities table schema

| **campaign**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| --- |
| **campaign\_id**<br><br><br>INTEGER |
| **created\_at**<br><br><br>DATE-TIME |
| **details**<br><br><br>STRING |
| **email\_id**<br><br><br>INTEGER |
| **email\_template\_id**<br><br><br>INTEGER |
| **file\_id**<br><br><br>INTEGER |
| **form\_handler\_id**<br><br><br>INTEGER |
| **form\_id**<br><br><br>INTEGER |
| **id**<br><br><br>INTEGER |
| **landing\_page\_id**<br><br><br>INTEGER |
| **list\_email\_id**<br><br><br>INTEGER |
| **multivariate\_test\_variation\_id**<br><br><br>INTEGER |
| **paid\_search\_id\_id**<br><br><br>INTEGER |
| **prospect\_id**<br><br><br>INTEGER |
| **site\_search\_query\_id**<br><br><br>INTEGER |
| **type**<br><br><br>INTEGER |
| **type\_name**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **visitor\_id**<br><br><br>INTEGER |
| **visitor\_page\_view\_id**<br><br><br>INTEGER |

### visitors

The `visitors` table contains info about visitors.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updated\_at |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#visitor "Opens in new tab: Pardot documentation")<br><br><br>[visitors schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/visitors.json "Opens in new tab: visitors schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/visitors/ "Opens in new tab: Pardot API method") |

visitors table foreign keys

| Join visitors with | on |
| --- | --- |
| [visitor_activities](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visitor-activities) | ```<br>visitors.id = visitor_activities.visitor_id<br>``` |
| [visits](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visits) | ```<br>visitors.id = visits.visitor_id<br>``` |

visitors table schema

| **campaign\_parameter**<br><br><br>STRING |
| --- |
| **content\_parameter**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **hostname**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **ip\_address**<br><br><br>STRING |
| **medium\_parameter**<br><br><br>STRING |
| **page\_view\_count**<br><br><br>INTEGER |
| **source\_parameter**<br><br><br>STRING |
| **term\_parameter**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |

### visits

The `visits` table contains info about visits.

**Note**: To replicate this table, you must also set the [`visitors`](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visitors) table to replicate.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Keys ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | id<br><br>updated\_at |
| **Useful links** | [Pardot documentation](http://developer.pardot.com/kb/object-field-references/#visit "Opens in new tab: Pardot documentation")<br><br><br>[visits schema on GitHub](https://github.com/singer-io/tap-pardot/blob/master/tap_pardot/schemas/visits.json "Opens in new tab: visits schema on GitHub")<br><br><br>[Pardot API method](http://developer.pardot.com/kb/api-version-3/visits/ "Opens in new tab: Pardot API method") |

visits table foreign keys

| Join visits with | on |
| --- | --- |
| [email_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#email-clicks) | ```<br>visits.prospect_id = email_clicks.prospect_id<br>``` |
| [list_memberships](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#list-memberships) | ```<br>visits.prospect_id = list_memberships.prospect_id<br>``` |
| [prospects](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#prospects) | ```<br>visits.prospect_id = prospects.id<br>``` |
| [visitor_activities](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visitor-activities) | ```<br>visits.prospect_id = visitor_activities.prospect_id<br>```<br><br>```<br>visits.visitor_id = visitor_activities.visitor_id<br>``` |
| [visitors](https://help.qlik.com/en-US/stitch/integrations/saas/pardot#visitors) | ```<br>visits.visitor_id = visitors.id<br>``` |

visits table schema

| **campaign\_parameter**<br><br><br>STRING |
| --- |
| **content\_parameter**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **duration\_in\_seconds**<br><br><br>INTEGER |
| **first\_visitor\_page\_view\_at**<br><br><br>DATE-TIME |
| **id**<br><br><br>INTEGER |
| **last\_visitor\_page\_view\_at**<br><br><br>DATE-TIME |
| **medium\_parameter**<br><br><br>STRING |
| **prospect\_id**<br><br><br>INTEGER |
| **source\_parameter**<br><br><br>STRING |
| **term\_parameter**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **visitor\_id**<br><br><br>INTEGER |
| **visitor\_page\_view\_count**<br><br><br>INTEGER |
| **visitor\_page\_views**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand visitor\_page\_views<br><br><table> <tr> <td> <p> <strong>								visitor_page_view							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand visitor_page_view</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								created_at							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								title							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								url							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |