Overview

iContact develops an award winning email marketing solution. Connecting your iContact account to Lytics gives you the ability to import your user and activity data from iContact, combine it with information from other sources, and use it to precisely segment and target users across platforms.

Authorization

If you haven't already done so, you will need to set up a iContact account before you begin the process described below. To connect to iContact, you will need to enable Lytics on your iContact account:

  1. Navigate to the external login section of iContact
  2. Enter the Lytics Application ID lqx6zVy4N9ElnUQ10SEOHGnrsiKUMaYI
  3. Enter a unique password in the appropriate field.
  4. Click save.

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

  1. Select iContact from the list of providers.
  2. Select the iContact API Credentials 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. In the API Username text box, enter your email address. this will be the email you use to login to iContact
  6. In the API Password password box, enter your API Password credential. This will be the password you created above.
  7. Click Save Authorization.
    icontact-auth

Import User and Activity Data

Importing your iContact contacts into Lytics is the first step to using Lytics powerful insights to market to your users smarter. Pull in your user's activity and profile data from iContact to get a complete picture of how your users engauge with your email campaigns.

Integration Details

  • Implementation Type: Server-side Integration.
  • Implementation Technique: REST API Integration.
  • Frequency: Batch Integration every 24 hours
  • Resulting data: User Fields, User Profiles

Steps/Pattern:
[REPLACE ME]

  1. Request Contacts in account
  2. Add those contacts to the icontact_users stream
  3. Request messages for the account.
  4. for each message request activity data:
    1. Request bounces for the message
    2. Request opens for the message
    3. Request clicks for the message
    4. Request unsubscribes for the message
    5. Add the activity to the icontact_activity stream

Fields

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

Source FieldLytics User FieldDescriptionType
bounce_countic_bounce_countiContact Bounce Countstring
businessic_businessiContact Businessstring
citycityCitystring
create_dateic_user_creatediContact User Createddate
email(email)email unique idEmail Addressstring
emaildomain(email)email_domainEmail Domainstring
faxfaxFax Numberstring
first_namefirst_nameFirst Namestring
idic_contact_id unique idiContact Distinct IDstring
last_namelast_nameLast Namestring
phonephonePhone Numberstring
postal_codepostal_codePostal Codestring
prefixprefixPrefixstring
stateregionState/Provincestring
statusic_statusiContact Statusstring
streetstreet_addressStreet Addressstring
street_line_2address_2Address Line 2string
suffixsuffixSuffixstring

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

Source FieldConditionalLytics User FieldDescriptionType
contact_idic_contact_id unique idiContact Distinct IDstring
count(event_type)IF eq(event_type, "bounce")email_bouncectEmail Bounce Countint
count(event_type)IF eq(event_type, "click")email_click_ctEmail Click Countint
count(event_type)IF eq(event_type, "open")email_open_ctEmail Open Countint
count(event_type)IF eq(event_type, "unsubscribe")email_unsubscribectEmail Unsubscribe Countint
map("email", epochms())IF event_type IN ("open", "click", "unsubscribe")last_channel_activitiesLast Activity By Channelmap[string]time
max(epochms())IF eq(event_type, "click")email_last_click_tsEmail Last clickdate
max(epochms())IF eq(event_type, "open")email_last_open_tsEmail Last opendate
max(epochms())IF eq(event_type, "bounce")email_lastbounce_tsEmail Last bouncedate
max(epochms())IF eq(event_type, "unsubscribe")email_lastunsubscribe_tsEmail Last unsubscribedate
max(epochms())IF event_type IN ("open", "click", "unsubscribe")last_active_tsLast Activedate
min(epochms())IF eq(event_type, "click")email_first_click_tsEmail First clickdate
min(epochms())IF eq(event_type, "open")email_first_open_tsFirst Email Openeddate
min(epochms())IF eq(event_type, "bounce")email_firstbounce_tsEmail First bouncedate
min(epochms())IF eq(event_type, "unsubscribe")email_firstunsubscribe_tsEmail First unsubscribedate
set("email")IF event_type IN ("open", "click", "unsubscribe")channelsAll Channels Used[]string
valuect(hash(urlmain(event_url)))hashedurlsHashed Urls Visitedmap[string]intsum

Configuration

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

  1. Select iContact from the list of providers.
  2. Select the import 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.
  7. From the Source Account input, select the account that you would like to import from.
  8. From the Source Client Folder input, select the client folder that you would like imported into Lytics.
  9. (Optional) Toggle Show Advanced Options.
    1. (optional) Select the Keep Updated checkbox, to run this import every hour.
    2. (optional) Select the Filter by AID checkbox, to only process users and messages that are tagged with the AID for this account. The tag <!-- lytics-aid:AID --> must be included in the email's HTML body, where AID is your account's AID. Please contact customer success for more information about this option.
  10. Click the Start job button to start the job

Export Audience to List

Export a Lytics audience to an iContact list to make use of your Lytics powered audiences in iContact.

Integration Details

  • Implementation Type: Server-side Integration.
  • Implementation Technique: REST API Integration.
  • Frequency: Batch Integration
  • Resulting data: iContact users that are in the selected Audience will be pushed to the selected list.

The export will scan the selected audience and push the users to iContact.

Steps/Pattern:

  1. Scan the audience
  2. For each user in the audience, add it to the batch.
  3. Subscribe the batch to the selected iContact list.

Fields

By default, Lytics exports the following fields to iContact:

Lytics User FieldDescriptioniContact FieldType
iContact Distinct IDDistinct ID from iContactcontactIdstring

Configuration

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

  1. Select iContact from the list of providers.
  2. Select the export 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.
  8. From the Destination Account input, select the account that you would like to export to.
  9. From the Destination Client Folder input, select the client folder that you would like to export to.
  10. From the Destination List input, select the list that you would like to export to.
  11. Click the Start job button to start the job