# Listrak (v1)

Information note **Listrak is supported by the Singer community**   
This integration is powered by [Singer's](https://www.singer.io/) Listrak tap. For support, [visit the GitHub repo](https://github.com/singer-io/tap-listrak) or [join the Singer Slack](https://singer-slackin.herokuapp.com/).

## Listrak integration summary

Stitch’s Listrak integration replicates data using the [Listrak SOAP API](https://webservices.listrak.com/SoapWSDL.aspx). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#schema) section for a list of objects available for replication.

## Listrak feature snapshot

A high-level look at Stitch's Listrak (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 June 27, 2018 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Singer Community](https://www.singer.io/) |
| **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-listrak](https://github.com/singer-io/tap-listrak) |  |  |
| **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 Remove icon<br><br>Advanced Scheduling is not supported for this integration.<br><br><br>Unsupported |
| **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 Remove icon<br><br>Column selection is not supported for this integration. All available columns in tables set to replicate will be selected.<br><br><br>Unsupported |
| **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 Listrak

### Step 1: Create a Listrak Stitch user

Information note

**Note: Listrak user limits**

While we recommend doing creating a user for Stitch to ensure we’re visible in any logs or audits, it may not be feasible as Listrak limits each account to five users.

**Should you choose not to create a user for us**, you should verify that the user who creates the integration in Stitch has:

1. Access to the Listrak lists you want to replicate, and
2. The permissions listed in **Step 8** of this section.

1) Sign into your Listrak account.
2) From the home page, click **Manage**.
3) Click **Accounts &gt; User Manager**.
4) Scroll to the bottom of the page and click **Create New User**.
5) Fill in the **User Information** fields.
6) In the **Lists** section, select the lists you want the Stitch user to have access to. **Note**: Stitch will only be able to replicate data for lists that it is able to access.
7) For **Granted Access**, select **Role Based Access**.
8) In the section below this field, select check the boxes for the following permissions:
   * **Analytics Access** - This allows the Stitch user to view analytics for messages, contacts, and lists for available lists.
   * **API Access** - This allows the Stitch user to replicate data from your Listrak using the Listrak API.
9) Click **Add User** when finished.

### Step 2: Add Stitch IP Addresses to Listrak's SOAP API whitelist

To ensure Stitch can access your Listrak instance, you’ll need to whitelist Stitch’s IP addresses.

* [Step 2.1: Verify your Stitch account’s data pipeline region](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#verify-stitch-account-region)

* [Step 2.2: Add the IP addresses to the SOAP API whitelist](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#add-ip-addresses-to-whitelist)

#### Step 2.1: Verify your Stitch account's data pipeline region

The IP addresses you’ll whitelist depend on the [**Data pipeline region** your account is in](https://help.qlik.com/en-US/stitch/security/supported-data-pipeline-regions).

1. [Sign into your Stitch account](https://app.stitchdata.com/), if you haven’t already.

2. Click **User menu (your icon) &gt; Edit User Settings** and locate the **Data pipeline region** section to verify your account’s region.

3. Locate the list of IP addresses for your region:

   * [North America region IP addresses](https://help.qlik.com/en-US/stitch/security/stitch-ip-addresses#north-america-ip-addresses)

   * [Europe region IP addresses](https://help.qlik.com/en-US/stitch/security/stitch-ip-addresses#europe-ip-addresses)

Keep this list handy - you’ll need it in the next step.

#### Step 2.2: Add the IP addresses to the SOAP API whitelist

1. In your Listrak account, navigate to **Manage &gt; Accounts &gt; SOAP API IP Authorization**.
2. Add the Stitch IP addresses that you retrieved in the [previous step](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#verify-stitch-account-region).

### Step 3: Add Listrak 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 **Listrak** 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 Listrak” would create a schema called `stitch_listrak` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. In the **Username** field, enter the Stitch Listrak user’s username.

6. In the **Password** field, enter the Stitch Listrak user’s password.

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

The Sync Historical Data setting defines the starting date for your Listrak 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 Listrak’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 5: 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.

Listrak 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)

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.

### Initial and historical replication jobs

After you finish setting up Listrak, 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.

## Listrak 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 Listrak 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.

### lists

The `lists` table contains info about your contact lists.

| **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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | ListID |
| **Useful links** | [Listrak documentation](https://help.qlik.com/en-US/stitch/integrations/saas/listrak "Opens in new tab: Listrak documentation")<br><br><br>[lists schema on GitHub](https://github.com/singer-io/tap-listrak/blob/master/tap_listrak/schemas/lists.json "Opens in new tab: lists schema on GitHub")<br><br><br>[Listrak API method](https://webservices.listrak.com/v31/IntegrationService.asmx?op=GetContactListCollection "Opens in new tab: Listrak API method") |

lists table foreign keys

| Join lists with | on |
| --- | --- |
| [messages](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#messages) | ```<br>lists.ListID = messages.ListID<br>``` |
| [subscribed_contacts](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#subscribed-contacts) | ```<br>lists.ListID = subscribed_contacts.ListID<br>``` |

lists table schema

| **BounceUnsubscribeCount**<br><br><br>INTEGER |
| --- |
| **CreateDate**<br><br><br>DATE-TIME |
| **DomainAliasEmail**<br><br><br>STRING |
| **DomainAliasLink**<br><br><br>STRING |
| **EnableBrowserLink**<br><br><br>BOOLEAN |
| **EnableDoubleOptin**<br><br><br>BOOLEAN |
| **EnableDynamicContent**<br><br><br>BOOLEAN |
| **EnableGoogleAnalytics**<br><br><br>BOOLEAN |
| **EnableInternationalization**<br><br><br>BOOLEAN |
| **EnableListHygiene**<br><br><br>BOOLEAN |
| **EnableListRemoveHeader**<br><br><br>BOOLEAN |
| **EnableRSS**<br><br><br>BOOLEAN |
| **EnableRemovalLink**<br><br><br>BOOLEAN |
| **FromEmail**<br><br><br>STRING |
| **FromName**<br><br><br>STRING |
| **GoogleTrackingDomains**<br><br><br>ARRAY<br><br>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;. |
| **ListID**<br><br><br>INTEGER |
| **ListName**<br><br><br>STRING |
| **ShowAdvancedPersonalization**<br><br><br>BOOLEAN |
| **ShowEmailList**<br><br><br>BOOLEAN |
| **Vmta**<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 Vmta<br><br><table> <tr> <td> <p> <strong>								Description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								VmtaID							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **bounceHandling**<br><br><br>INTEGER |

### message\_bounces

The `message_bounces` table contains info about contact bounces for a message.

| **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)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | MsgID<br><br>EmailAddress |
| **Useful links** | [Listrak documentation](https://help.qlik.com/en-US/stitch/integrations/saas/listrak "Opens in new tab: Listrak documentation")<br><br><br>[message_bounces schema on GitHub](https://github.com/singer-io/tap-listrak/blob/master/tap_listrak/schemas/message_bounces.json "Opens in new tab: message_bounces schema on GitHub")<br><br><br>[Listrak API method](https://webservices.listrak.com/v31/IntegrationService.asmx?op=ReportRangeMessageContactBounces "Opens in new tab: Listrak API method") |

message\_bounces table foreign keys

| Join message\_bounces with | on |
| --- | --- |
| [message_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-clicks) | ```<br>message_bounces.ContactID = message_clicks.ContactID<br>```<br><br>```<br>message_bounces.MsgID = message_clicks.MsgID<br>``` |
| [message_opens](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-opens) | ```<br>message_bounces.ContactID = message_opens.ContactID<br>```<br><br>```<br>message_bounces.MsgID = message_opens.MsgID<br>``` |
| [message_reads](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-reads) | ```<br>message_bounces.ContactID = message_reads.ContactID<br>```<br><br>```<br>message_bounces.MsgID = message_reads.MsgID<br>``` |
| [message_unsubs](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-unsubs) | ```<br>message_bounces.ContactID = message_unsubs.ContactID<br>```<br><br>```<br>message_bounces.MsgID = message_unsubs.MsgID<br>``` |
| [subscribed_contacts](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#subscribed-contacts) | ```<br>message_bounces.ContactID = subscribed_contacts.ContactID<br>``` |
| [message_sends](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-sends) | ```<br>message_bounces.MsgID = message_sends.MsgID<br>``` |
| [messages](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#messages) | ```<br>message_bounces.MsgID = messages.MsgID<br>``` |

message\_bounces table schema

| **BounceCount**<br><br><br>INTEGER |
| --- |
| **BounceDate**<br><br><br>STRING |
| **BounceDetail**<br><br><br>STRING |
| **BounceReason**<br><br><br>STRING |
| **ContactID**<br><br><br>STRING |
| **EmailAddress**<br><br><br>STRING |
| **MsgID**<br><br><br>INTEGER |

### message\_clicks

The `message_clicks` table contains info about contact clicks for a message.

| **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)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | MsgID<br><br>EmailAddress |
| **Useful links** | [Listrak documentation](https://help.qlik.com/en-US/stitch/integrations/saas/listrak "Opens in new tab: Listrak documentation")<br><br><br>[message_clicks schema on GitHub](https://github.com/singer-io/tap-listrak/blob/master/tap_listrak/schemas/message_clicks.json "Opens in new tab: message_clicks schema on GitHub")<br><br><br>[Listrak API method](https://webservices.listrak.com/v31/IntegrationService.asmx?op=ReportRangeMessageContactClick "Opens in new tab: Listrak API method") |

message\_clicks table foreign keys

| Join message\_clicks with | on |
| --- | --- |
| [message_bounces](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-bounces) | ```<br>message_clicks.ContactID = message_bounces.ContactID<br>```<br><br>```<br>message_clicks.MsgID = message_bounces.MsgID<br>``` |
| [message_opens](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-opens) | ```<br>message_clicks.ContactID = message_opens.ContactID<br>```<br><br>```<br>message_clicks.MsgID = message_opens.MsgID<br>``` |
| [message_reads](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-reads) | ```<br>message_clicks.ContactID = message_reads.ContactID<br>```<br><br>```<br>message_clicks.MsgID = message_reads.MsgID<br>``` |
| [message_unsubs](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-unsubs) | ```<br>message_clicks.ContactID = message_unsubs.ContactID<br>```<br><br>```<br>message_clicks.MsgID = message_unsubs.MsgID<br>``` |
| [subscribed_contacts](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#subscribed-contacts) | ```<br>message_clicks.ContactID = subscribed_contacts.ContactID<br>``` |
| [message_sends](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-sends) | ```<br>message_clicks.MsgID = message_sends.MsgID<br>``` |
| [messages](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#messages) | ```<br>message_clicks.MsgID = messages.MsgID<br>``` |

message\_clicks table schema

| **ClickDate**<br><br><br>STRING |
| --- |
| **ContactID**<br><br><br>STRING |
| **EmailAddress**<br><br><br>STRING |
| **LinkDescription**<br><br><br>STRING |
| **LinkUrl**<br><br><br>STRING |
| **MsgID**<br><br><br>INTEGER |

### message\_opens

The `message_opens` table contains info about contact opens for a message.

| **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)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | MsgID<br><br>EmailAddress |
| **Useful links** | [Listrak documentation](https://help.qlik.com/en-US/stitch/integrations/saas/listrak "Opens in new tab: Listrak documentation")<br><br><br>[message_opens schema on GitHub](https://github.com/singer-io/tap-listrak/blob/master/tap_listrak/schemas/message_opens.json "Opens in new tab: message_opens schema on GitHub")<br><br><br>[Listrak API method](https://webservices.listrak.com/v31/IntegrationService.asmx?op=ReportRangeMessageContactOpen "Opens in new tab: Listrak API method") |

message\_opens table foreign keys

| Join message\_opens with | on |
| --- | --- |
| [message_bounces](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-bounces) | ```<br>message_opens.ContactID = message_bounces.ContactID<br>```<br><br>```<br>message_opens.MsgID = message_bounces.MsgID<br>``` |
| [message_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-clicks) | ```<br>message_opens.ContactID = message_clicks.ContactID<br>```<br><br>```<br>message_opens.MsgID = message_clicks.MsgID<br>``` |
| [message_reads](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-reads) | ```<br>message_opens.ContactID = message_reads.ContactID<br>```<br><br>```<br>message_opens.MsgID = message_reads.MsgID<br>``` |
| [message_unsubs](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-unsubs) | ```<br>message_opens.ContactID = message_unsubs.ContactID<br>```<br><br>```<br>message_opens.MsgID = message_unsubs.MsgID<br>``` |
| [subscribed_contacts](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#subscribed-contacts) | ```<br>message_opens.ContactID = subscribed_contacts.ContactID<br>``` |
| [message_sends](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-sends) | ```<br>message_opens.MsgID = message_sends.MsgID<br>``` |
| [messages](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#messages) | ```<br>message_opens.MsgID = messages.MsgID<br>``` |

message\_opens table schema

| **ContactID**<br><br><br>STRING |
| --- |
| **EmailAddress**<br><br><br>STRING |
| **MsgID**<br><br><br>INTEGER |
| **OpenDate**<br><br><br>STRING |

### message\_reads

The `message_reads` table contains info about contact reads for a message.

| **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)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | MsgID<br><br>EmailAddress |
| **Useful links** | [Listrak documentation](https://help.qlik.com/en-US/stitch/integrations/saas/listrak "Opens in new tab: Listrak documentation")<br><br><br>[message_reads schema on GitHub](https://github.com/singer-io/tap-listrak/blob/master/tap_listrak/schemas/message_reads.json "Opens in new tab: message_reads schema on GitHub")<br><br><br>[Listrak API method](https://webservices.listrak.com/v31/IntegrationService.asmx?op=ReportRangeMessageContactRead "Opens in new tab: Listrak API method") |

message\_reads table foreign keys

| Join message\_reads with | on |
| --- | --- |
| [message_bounces](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-bounces) | ```<br>message_reads.ContactID = message_bounces.ContactID<br>```<br><br>```<br>message_reads.MsgID = message_bounces.MsgID<br>``` |
| [message_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-clicks) | ```<br>message_reads.ContactID = message_clicks.ContactID<br>```<br><br>```<br>message_reads.MsgID = message_clicks.MsgID<br>``` |
| [message_opens](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-opens) | ```<br>message_reads.ContactID = message_opens.ContactID<br>```<br><br>```<br>message_reads.MsgID = message_opens.MsgID<br>``` |
| [message_unsubs](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-unsubs) | ```<br>message_reads.ContactID = message_unsubs.ContactID<br>```<br><br>```<br>message_reads.MsgID = message_unsubs.MsgID<br>``` |
| [subscribed_contacts](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#subscribed-contacts) | ```<br>message_reads.ContactID = subscribed_contacts.ContactID<br>``` |
| [message_sends](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-sends) | ```<br>message_reads.MsgID = message_sends.MsgID<br>``` |
| [messages](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#messages) | ```<br>message_reads.MsgID = messages.MsgID<br>``` |

message\_reads table schema

| **ContactID**<br><br><br>STRING |
| --- |
| **EmailAddress**<br><br><br>STRING |
| **MsgID**<br><br><br>INTEGER |
| **ReadDate**<br><br><br>STRING |

### message\_sends

The `message_sends` table contains `MsgID` and `EmailAddress` pairs, allowing you to identify the messages that your contacts have been sent.

| **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)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | MsgID<br><br>EmailAddress |
| **Useful links** | [Listrak documentation](https://help.qlik.com/en-US/stitch/integrations/saas/listrak "Opens in new tab: Listrak documentation")<br><br><br>[message_sends schema on GitHub](https://github.com/singer-io/tap-listrak/blob/master/tap_listrak/schemas/message_sends.json "Opens in new tab: message_sends schema on GitHub")<br><br><br>[Listrak API method](https://webservices.listrak.com/v31/IntegrationService.asmx?op=ReportMessageContactSent "Opens in new tab: Listrak API method") |

message\_sends table foreign keys

| Join message\_sends with | on |
| --- | --- |
| [message_bounces](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-bounces) | ```<br>message_sends.MsgID = message_bounces.MsgID<br>``` |
| [message_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-clicks) | ```<br>message_sends.MsgID = message_clicks.MsgID<br>``` |
| [message_opens](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-opens) | ```<br>message_sends.MsgID = message_opens.MsgID<br>``` |
| [message_reads](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-reads) | ```<br>message_sends.MsgID = message_reads.MsgID<br>``` |
| [message_unsubs](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-unsubs) | ```<br>message_sends.MsgID = message_unsubs.MsgID<br>``` |
| [messages](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#messages) | ```<br>message_sends.MsgID = messages.MsgID<br>``` |

message\_sends table schema

| **EmailAddress**<br><br><br>STRING |
| --- |
| **MsgID**<br><br><br>INTEGER |

### message\_unsubs

The `message_unsubs` table contains info about contacts who requested to be removed from a list from the supplied message.

| **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)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | MsgID<br><br>EmailAddress |
| **Useful links** | [Listrak documentation](https://help.qlik.com/en-US/stitch/integrations/saas/listrak "Opens in new tab: Listrak documentation")<br><br><br>[message_unsubs schema on GitHub](https://github.com/singer-io/tap-listrak/blob/master/tap_listrak/schemas/message_unsubs.json "Opens in new tab: message_unsubs schema on GitHub")<br><br><br>[Listrak API method](https://webservices.listrak.com/v31/IntegrationService.asmx?op=ReportRangeMessageContactRemoval "Opens in new tab: Listrak API method") |

message\_unsubs table foreign keys

| Join message\_unsubs with | on |
| --- | --- |
| [message_bounces](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-bounces) | ```<br>message_unsubs.ContactID = message_bounces.ContactID<br>```<br><br>```<br>message_unsubs.MsgID = message_bounces.MsgID<br>``` |
| [message_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-clicks) | ```<br>message_unsubs.ContactID = message_clicks.ContactID<br>```<br><br>```<br>message_unsubs.MsgID = message_clicks.MsgID<br>``` |
| [message_opens](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-opens) | ```<br>message_unsubs.ContactID = message_opens.ContactID<br>```<br><br>```<br>message_unsubs.MsgID = message_opens.MsgID<br>``` |
| [message_reads](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-reads) | ```<br>message_unsubs.ContactID = message_reads.ContactID<br>```<br><br>```<br>message_unsubs.MsgID = message_reads.MsgID<br>``` |
| [subscribed_contacts](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#subscribed-contacts) | ```<br>message_unsubs.ContactID = subscribed_contacts.ContactID<br>``` |
| [message_sends](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-sends) | ```<br>message_unsubs.MsgID = message_sends.MsgID<br>``` |
| [messages](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#messages) | ```<br>message_unsubs.MsgID = messages.MsgID<br>``` |

message\_unsubs table schema

| **AdditionDate**<br><br><br>STRING |
| --- |
| **ContactID**<br><br><br>STRING |
| **EmailAddress**<br><br><br>STRING |
| **MsgID**<br><br><br>INTEGER |
| **RemovalDate**<br><br><br>STRING |
| **RemovalMethod**<br><br><br>STRING |

### messages

The `messages` table contains info about message statistics.

| **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)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | MsgID |
| **Useful links** | [Listrak documentation](https://help.qlik.com/en-US/stitch/integrations/saas/listrak "Opens in new tab: Listrak documentation")<br><br><br>[messages schema on GitHub](https://github.com/singer-io/tap-listrak/blob/master/tap_listrak/schemas/messages.json "Opens in new tab: messages schema on GitHub")<br><br><br>[Listrak API method](https://webservices.listrak.com/v31/IntegrationService.asmx?op=ReportListMessageActivity "Opens in new tab: Listrak API method") |

messages table foreign keys

| Join messages with | on |
| --- | --- |
| [message_bounces](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-bounces) | ```<br>messages.MsgID = message_bounces.MsgID<br>``` |
| [message_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-clicks) | ```<br>messages.MsgID = message_clicks.MsgID<br>``` |
| [message_opens](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-opens) | ```<br>messages.MsgID = message_opens.MsgID<br>``` |
| [message_reads](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-reads) | ```<br>messages.MsgID = message_reads.MsgID<br>``` |
| [message_sends](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-sends) | ```<br>messages.MsgID = message_sends.MsgID<br>``` |
| [message_unsubs](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-unsubs) | ```<br>messages.MsgID = message_unsubs.MsgID<br>``` |
| [lists](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#lists) | ```<br>messages.ListID = lists.ListID<br>``` |
| [subscribed_contacts](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#subscribed-contacts) | ```<br>messages.ListID = subscribed_contacts.ListID<br>``` |

messages table schema

| **AverageOrderValue**<br><br><br>NUMBER |
| --- |
| **ClickCount**<br><br><br>INTEGER |
| **ClickerCount**<br><br><br>INTEGER |
| **ClickerPercent**<br><br><br>NUMBER |
| **ConversionCount**<br><br><br>INTEGER |
| **DeliverCount**<br><br><br>INTEGER |
| **ListID**<br><br><br>INTEGER |
| **MsgID**<br><br><br>INTEGER |
| **NewClickerCount**<br><br><br>INTEGER |
| **OpenCount**<br><br><br>INTEGER |
| **OpenPercent**<br><br><br>NUMBER |
| **OrderTotal**<br><br><br>NUMBER |
| **ReadCount**<br><br><br>INTEGER |
| **ReadPercent**<br><br><br>NUMBER |
| **RemoveCount**<br><br><br>INTEGER |
| **RemovePercent**<br><br><br>NUMBER |
| **RepeatClickerCount**<br><br><br>INTEGER |
| **SendDate**<br><br><br>DATE-TIME |
| **Subject**<br><br><br>STRING |

### subscribed\_contacts

The `subscribed_contacts` table contains info about contacts who are currently subscribed to the specified list.

| **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)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | ContactID<br><br>ListID |
| **Useful links** | [Listrak documentation](https://help.qlik.com/en-US/stitch/integrations/saas/listrak "Opens in new tab: Listrak documentation")<br><br><br>[subscribed_contacts schema on GitHub](https://github.com/singer-io/tap-listrak/blob/master/tap_listrak/schemas/subscribed_contacts.json "Opens in new tab: subscribed_contacts schema on GitHub")<br><br><br>[Listrak API method](https://webservices.listrak.com/v31/IntegrationService.asmx?op=ReportRangeSubscribedContacts "Opens in new tab: Listrak API method") |

subscribed\_contacts table foreign keys

| Join subscribed\_contacts with | on |
| --- | --- |
| [message_bounces](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-bounces) | ```<br>subscribed_contacts.ContactID = message_bounces.ContactID<br>``` |
| [message_clicks](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-clicks) | ```<br>subscribed_contacts.ContactID = message_clicks.ContactID<br>``` |
| [message_opens](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-opens) | ```<br>subscribed_contacts.ContactID = message_opens.ContactID<br>``` |
| [message_reads](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-reads) | ```<br>subscribed_contacts.ContactID = message_reads.ContactID<br>``` |
| [message_unsubs](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#message-unsubs) | ```<br>subscribed_contacts.ContactID = message_unsubs.ContactID<br>``` |
| [lists](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#lists) | ```<br>subscribed_contacts.ListID = lists.ListID<br>``` |
| [messages](https://help.qlik.com/en-US/stitch/integrations/saas/listrak#messages) | ```<br>subscribed_contacts.ListID = messages.ListID<br>``` |

subscribed\_contacts table schema

| **AdditionDate**<br><br><br>DATE-TIME |
| --- |
| **AdditionMethod**<br><br><br>STRING |
| **ContactID**<br><br><br>STRING |
| **EmailAddress**<br><br><br>STRING |
| **ListID**<br><br><br>INTEGER |