Overview

Wistia is a video-hosting platform for businesses. Wistia provides advanced analytics such as heatmaps, engagement graphs, and A/B testing, as well as lead generation tools inline annotations including email capture and marketing CTAs to engage and convert customers during their video experience.

Importing Wistia video activity will enrich Lytics user profiles with video viewing behavior and conversion data. This data can inform targeting for your cross-channel marketing Experiences with Lytics Journey Canvas or stand-alone ads, email, web, or mobile campaigns.

Authorization

If you haven't already done so, you will need to setup a Wistia account before you begin the process described below. To access your Wistia data, you'll need to get an API token from Wistia. Follow the directions in the Wistia Data API docs to create a new API token for Lytics to use.

Note: You will need to select both Read all project and video data and Read detailed stats permissions for the key.

wistia key

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

  1. Select Wistia from the list of providers.
  2. Select the Wistia method for authorization.
  3. Enter a Label to identify your authorization.
  4. (Optional) Enter a Description for further context on your authorization.
  5. Enter your API Token.
  6. Click Save Authorization.

wisita authorization config

Import Activity

Import Wistia video activity to add video viewing behavior data to your user profiles in Lytics. Once imported, this data enables you to target users based on their video viewing habits in your multi-channel marketing experiences orchestrated by Lytics.

Integration Details

  • Implementation Type: Server-side Integration
  • Implementation Technique: REST API Integration
  • Frequency: Hourly Batch Integration.
  • Resulting data: New User Profiles for Wistia users not already tracked in Lytics. Or new User Fields containing video activity data for users profiles that already exist in Lytics.

This integration utilizes the Wistia Stats API to retrieve event data:

  1. Request activity data from the last hour.
  2. Calculate the time viewed for viewing session.
  3. Ingest the data in the Lytics data stream wistia_activity.

Fields

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

Source FieldLytics User FieldDescriptionType
countrywistia_countryWistia Last Viewed Countrystring
regionwistia_stateWistia Last Viewed Statestring
duration_viewedwistia_duration_viewedWistia Last Viewed Durationnumber
media_namewistia_media_namesWistia Viewed Media Names[]string
conversion.last_namelast_nameLast Namestring
citywistia_cityWistia Last Viewed Citystring
media_id, percent_viewedwisita_media_percentWisita Viewed Media Percentmap[string]number
conversion.first_namefirst_nameFirst Namestring
orgwistia_orgWistia Last Viewed Orgstring
percent_viewedwistia_percent_viewedWistia Last Viewed Percentnumber
media_idwisita_media_idsWistia Viewed Media IDs[]string
media_id, duration_viewedwistia_media_duationWistia Viewed Media Durationmap[string]number
visitor_keywistia_visitor_key unique idWistia Visitor Keystring
conversion_data.emailemail unique idEmail Addressstring

Configuration

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

  1. Select Wistia from the list of providers.
  2. Select the Import Activity Data 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. (Optional) Enter the Start Date to start importing Wistia activity data from this date. Please use the format yyyy-mm-dd (e.g. 2021-01-25). If left empty, only new viewing activity will be pulled in.
  7. (Optional) Enter the End Date to stop importing Wistia activity data from this date. Please use the format yyyy-mm-dd (e.g. 2021-12-19). If left empty, only new viewing activity will be imported from the current date.
  8. Select Keep Updated to continually pull in activity data. This will take priority over the 'End Date' configuration.
  9. Click Start Import.

wistia import