Overview

Sailthru is a marketing automation software that enables you to deliver customer-centric email, web, and mobile experiences.

Connect Sailthru and Lytics to improve the personalization and precision of your email marketing. Lytics combines behavioral data from your other marketing tools so you can create audiences based on how your users interact with your brand across channels. Use these custom audiences to power your next Sailthru campaign.

Authorization

If you haven't already done so, you will need to set up a Sailthru account before you begin the process described below. The API Key and API Secret are unique to your company’s Sailthru account and can be found on the API & Postbacks Settings page in My Sailthru.

If you are new to creating authorizations in Lytics, see the Authorizations Dashboard documentation for more information.

  1. Select Sailthru from the list of providers.
  2. Select the Sailthru API Key method for authorization.
  3. In the Label text box, enter a name for the authorization
  4. (Optional) In the Description text box, enter a description for this authorization
  5. Enter your API Key credential.
  6. Enter your API Secret credential.
  7. Click Save Authorization.

Import Audiences

Import your Sailthru lists into Lytics to leverage this user data to build behavioral, cross-channel audiences in Lytics.

Integration Details

This integration utilizes the Sailthru API. Once started the job will:

  1. Create a Sailthru export job of the List to import.
  2. Wait while the Sailthru job runs. Sailthru will write the contents of the list to a CSV file. When the file is written, the job completes and returns a link for the workflow to download the contents.
  3. The workflow will download the file, parse it, and the user fields will be ingested into the sailthru_users stream.
  4. If Keep Updated is selected in the configuration, steps 1 through 3 will repeat daily at the time specified by Time of Day.

Fields

The following fields are included in the default mapping of the sailthru_users stream:

Source FieldLytics User FieldDescriptionType
Email Hashhashed_email unique idEmail Hashstring
Profile Idst_ids unique idSailthru: Distinct ID[]string
Geolocation CitycityCitystring
Geolocation CountrycountryCountrystring
Last Clickemail_lastclick_tsEmail: Last Time Email Clickeddate
Last Openemail_lastopen_tsEmail: Last Time Email Openeddate
Optout Timeemail_lastopt_out_tsEmail: Last Time Opted-outdate
Last Pageviewemail_lastpageview_tsEmail: Last Pageview Timedate
DomainemaildomainEmail Domainstring
Geolocation Zippostal_codePostal Codestring
Clicksst_click_ctSailthru: Click Countint
Profile Created Datest_created_tsSailthru: Profile Created Datedate
Email Statusst_email_statusSailthru: Email Statusstring
Engagementst_engagementSailthru: Engagementstring
Opensst_open_ctSailthru: Open Countint
source_listst_source_listSailthru: Source List[]string
Pageviewsst_view_ctSailthru: Viewed Countint
Geolocation StatestateStatestring

Configuration

Follow these steps to set up and configure an import job for Sailthru in the Lytics platform. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.

  1. Select Sailthru from the list of providers.
  2. Select the Import Audiences job type from the list.
  3. Select the Authorization you would like to use or create a new one.
  4. Enter a Label to identify this job you are creating in Lytics.
  5. (Optional) Enter a Description for further context on your job.
  6. Complete the configuration steps for your job. sailthru import configuration
  7. From the List input, select select the Sailthru list to import.
  8. (Optional) From the Hash Algorithm input, select sailthru hashes email addresses when sending to Lytics. Select the hash algorithm to use to hash the emails.
  9. (Optional) Select the Keep Updated checkbox to continuously run this import.
  10. (Optional) From the Time of Day input, select time of day to start import each day.
  11. (Optional) From the Timezone input, select a timezone for Time of Day.
  12. Click Start Import.

Export Audiences

Export Lytics audiences to enrich your Sailthru campaigns with cross-channel data, behavioral scores, content affinities, and more.

Integration Details

  • Implementation Type: Server-side.
  • Implementation Technique:
    REST API with
    audience triggers.
  • Frequency:
    Real-time.
  • Resulting data:
    A Sailthru list containing users currently in the Lytics audience. The name of Sailthru audience will be "Lytics " followed by the audience name that is being exported (e.g. Lytics All). Any user fields selected in the configuration will be sent and associated with the user in Sailthru.

This integration utilizes the Sailthru API to send user data. Once the export is started the job will:

  1. Make a scan of the current members of the Lytics audience and send them to Sailthru via the /job endpoint. If a corresponding audience does not yet exist in Sailthru, one will be created.
  2. The job will listen for changes to the Lytics audience being exported. Users are sent to Sailthru in batches via the /job endpoint every minute, or when the batch size reaches 1000, whichever happens first.
  3. When new users enter the audience, they will be added to the corresponding Sailthru audience.
  4. When users leave the audience, they will be removed from the Sailthru audience.

Fields

By default, Lytics exports the following field to Sailthru.

Lytics User FieldDescriptionSailthru FieldType
emailEmail AddressEmailstring

Configuration

Follow these steps to set up and configure an export job for Sailthru in the Lytics platform. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.

  1. Select Sailthru from the list of providers.
  2. Select the Export Audiences job type from the list.
  3. Select the Authorization you would like to use or create a new one.
  4. Enter a Label to identify this job you are creating in Lytics.
  5. (Optional) Enter a Description for further context on your job.
  6. Select the audience to export.
  7. Complete the configuration steps for your job. sailthru exportlist configuration
  8. From the Email Field input, select the field name that contains the user's email.
  9. (Optional) From the Fields to Export input, select a list of user fields to export.
  10. Click Start Export.

Export Audiences (Lifecycle Optimizer)

Sailthru Lifecycle Optimizer allows you to automate email campaigns based on user events, such as entering an audience. By exporting your Lytics audiences in real-time, you can activate automated interactions with your users immediately as changes to their profiles are processed.

Integration Details

  • Implementation Type: Server-side.
  • Implementation Technique:
    REST API with
    audience triggers
    or other
  • Frequency:
    Real-time.
  • Resulting data:
    A Sailthru list containing users currently in the Lytics audience. The name of Sailthru audience will be "Lytics " followed by the audience name that is being exported (e.g. Lytics All). Any user fields selected in the configuration will be sent and associated with the user in Sailthru.

This integration utilizes the Sailthru API to send user data. Once the export is started the job will:

  1. Make a scan of the current members of the Lytics audience and send them to Sailthru via the /user endpoint. If a corresponding audience does not yet exist in Sailthru, one will be created.
  2. The job will listen for changes to the Lytics audience being exported. Users are sent to Sailthru one at a time via the /user endpoint.
  3. When new users enter the audience, they will be added to the corresponding Sailthru audience.
  4. When users leave the audience, they will be removed from the Sailthru audience.

Fields

By default, Lytics exports the following fields to Sailthru

Lytics User FieldDescriptionSailthru FieldType
emailEmail AddressEmailstring

Set up Lifecycle Optimizer

Before configuring an export job in Lytics, you will need to set up Lifecycle Optimizer in your Sailthru account.

  1. Login to your Sailthru account and navigate to Communications > Lifecycle Optimizer.
  2. Set up a Lifecycle Optimizer flow schedule by declaring what Action should happen when a user joins a specified list (only List Joined option will work in the Entry part of the Lifecycle Optimizer flow).Sailthru Lifecycle Optimizer
  3. The list should be named Lytics followed by the audience name you want to export from Lytics. Either create a new list corresponding to the audience from the Users > Lists or use an existing list.

See the Sailthru Lifecycle Optimizer documentation for more information.

Configuration

Follow these steps to set up and configure an export job for Sailthru in the Lytics platform. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.

  1. Select Sailthru from the list of providers.
  2. Select the Export Audiences (Lifecycle Optimizer) job type from the list.
  3. Select the Authorization you would like to use or create a new one.
  4. Enter a Label to identify this job you are creating in Lytics.
  5. (Optional) Enter a Description for further context on your job.
  6. Select the audience to export.
  7. Complete the configuration steps for your job. sailthru exportlistslo configuration
  8. (Optional) Select the Existing Users checkbox to add users who already exist in the selected Lytics audiences.
  9. From the Email Field input, select the field name that contains the user's email.
  10. (Ooptional) From the Fields to Export input, select a list of user fields to export.
  11. Click Start Export.

Including Identifiers in Links

You may want to pass a unique Sailthru identifier from links within your email to help enable cross-channel identity resolution. This will help Lytics identify users across data streams and merge their email and web activity.

The easiest way to pass a unique identifier from Sailthru click-through links into Lytics is to modify your email template to include a hashed email in each URL in the email being sent.

Requirements

The Lytics JavaScript Tag must be installed on your site, and an import will need to be active with userId set for import (default state). In addition, a line of LQL (Lytics Query Language) will need to be added to the Sailthru query in order to map the hashed email field to the user's profile. For assistance contact your Lytics representative or Lytics support.

For example:

qs(url, "email_hash") as hashed_email SHORTDESC "Hashed Email"

Add encrypted email to Sailthru links

  1. Ensure the Lytics Sailthru import Hash Algorithm option is set to 'SHA-256' (default).

  2. Log in to Sailthru and navigate to Communications > Templates then select your email template.

  3. Select the Advanced tab.

  4. Copy email_hash={sha256(email)} into the Auto-Append Link Parameters field.
    Screenshot 2018-11-28 Template Editor

Now all email clicks will pass the encrypted SHA256 email to your website when users click the links, and Lytics will map the encrypted email to the user's profile.

www.yourcompanyURL.com/email-campaign-page?email_hash=hashed-email-here-for-each-user