Documentation / Product / Integrations / Swrve

Swrve: Import Audiences

Integrating Swrve and Lytics allows you to unite user data across channels and leverage Lytics' powerful data science driven segments for targeting.

Integration Details

This integration utilizes the Swrve APIs import user data. Once the import is started the workflow will:

  1. Import all user data into the swrve_users stream.
  2. Schedule the next run of the import if the Keep Updated options is selected.

Fields

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

Source FieldLytics User FieldDescriptionType
epochms()swrve_last_user_importedLast User Importeddate
max(totimestamp(last_active))last_active_tsLast Active on Any Channeldate
max(totimestamp(last_active))swrve_last_activeSwrve Last Activedate
milliseconds_playedswrve_milliseconds_playedSwrve Milliseconds Playedint
min(totimestamp(date_joined))swrve_date_joinedSwrve Date Joineddate
min(totimestamp(swrve_install_date))swrve_install_dateSwrve Install Datedate
spendswrve_spendSwrve Spendnumber
swrve_all_eventsswrve_all_eventsSwrve All Eventsint
swrve_app_storeswrve_app_storeSwrve App Storestring
swrve_app_versionswrve_app_versionSwrve App Versionstring
swrve_conversation_versionswrve_conversation_versionSwrve Conversation Versionstring
swrve_data_idswrve_data_id unique idSwrve Data IDstring
swrve_device_dpiswrve_device_dpiSwrve Device DPIint
swrve_device_heightswrve_device_heightSwrve Device Heightint
swrve_device_nameswrve_device_nameSwrve Device Namestring
swrve_device_regionswrve_device_regionSwrve Device Regionstring
swrve_device_widthswrve_device_widthSwrve Device Widthint
swrve_error_invalid_currencyswrve_invalid_currencySwrve Invalid Currency Errorsint
swrve_first_sessionswrve_first_sessionSwrve First Sessionint
swrve_ios_min_versionswrve_ios_min_versionSwrve iOS Minimum Versionstring
swrve_languageswrve_languageSwrve Languagestring
swrve_location_versionswrve_location_versionSwrve Location Versionstring
swrve_messages_campaigns_downloadedswrve_cmpgns_downloadedSwrve Messages Campaigns Downloadedint
swrve_osswrve_osSwrve OSstring
swrve_os_versionswrve_os_versionSwrve OS Versionstring
swrve_permission_ios_cameraswrve_permission_ios_cameraSwrve iOS Camera Permissionstring
swrve_permission_ios_contactsswrve_permission_ios_contactsSwrve iOS Contacts Permissionstring
swrve_permission_ios_location_alwaysswrve_permission_ios_location_alwaysSwrve iOS Location Always Permissionstring
swrve_permission_ios_location_when_in_useswrve_permission_ios_location_when_in_useSwrve iOS Location In Use Permissionstring
swrve_permission_ios_photosswrve_permission_ios_photosSwrve iOS Photos Permissionstring
swrve_permission_ios_push_notificationsswrve_permission_ios_push_notificationsSwrve iOS Push Permissionstring
swrve_sdk_versionswrve_sdk_versionSwrve SDK Versionstring
swrve_segmentsswrve_segmentsSwrve Segmentsstring
swrve_session_startswrve_session_startSwrve Session Startint
swrve_sim_operator_codeswrve_sim_operator_codeSwrve SIM Operator Codestring
swrve_sim_operator_iso_country_codeswrve_sim_operator_iso_country_codeSwrve SIM Operator Countrystring
swrve_sim_operator_nameswrve_sim_operator_nameSwrve SIM Operator Namestring
swrve_timezone_nameswrve_timezone_nameSwrve Timezone Namestring
swrve_user_idswrve_user_id unique idSwrve User IDstring
swrve_user_properties_changedswrve_user_properties_changedSwrve User Properties Changedint
swrve_utc_offset_secondsswrve_utc_offset_secondsSwrve UTC Offset Secondsint

Configuration

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

  1. Select Swrve 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.
  7. (optional) Select the Keep Updated checkbox, to continuously run this import.
  8. (Optional) Toggle Show Advanced Options.
    1. (Optional) From the Time of Day input, select time of day to complete the import each day.
    2. (Optional) From the Timezone input, select timezone for time of day.
  9. Click Start Import.