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
- Implementation Type: Server-side.
- Implementation Technique: REST API.
- Frequency: Batch.
- Resulting data: User profiles.
This integration utilizes the Swrve APIs import user data. Once the import is started the workflow will:
- Import all user data into the
swrve_users
stream. - 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 Field | Lytics User Field | Description | Type |
---|---|---|---|
epochms() | swrve_last_user_imported | Last User Imported | date |
max(totimestamp(last_active)) | last_active_ts | Last Active on Any Channel | date |
max(totimestamp(last_active)) | swrve_last_active | Swrve Last Active | date |
milliseconds_played | swrve_milliseconds_played | Swrve Milliseconds Played | int |
min(totimestamp(date_joined)) | swrve_date_joined | Swrve Date Joined | date |
min(totimestamp(swrve_install_date)) | swrve_install_date | Swrve Install Date | date |
spend | swrve_spend | Swrve Spend | number |
swrve_all_events | swrve_all_events | Swrve All Events | int |
swrve_app_store | swrve_app_store | Swrve App Store | string |
swrve_app_version | swrve_app_version | Swrve App Version | string |
swrve_conversation_version | swrve_conversation_version | Swrve Conversation Version | string |
swrve_data_id | swrve_data_id unique id | Swrve Data ID | string |
swrve_device_dpi | swrve_device_dpi | Swrve Device DPI | int |
swrve_device_height | swrve_device_height | Swrve Device Height | int |
swrve_device_name | swrve_device_name | Swrve Device Name | string |
swrve_device_region | swrve_device_region | Swrve Device Region | string |
swrve_device_width | swrve_device_width | Swrve Device Width | int |
swrve_error_invalid_currency | swrve_invalid_currency | Swrve Invalid Currency Errors | int |
swrve_first_session | swrve_first_session | Swrve First Session | int |
swrve_ios_min_version | swrve_ios_min_version | Swrve iOS Minimum Version | string |
swrve_language | swrve_language | Swrve Language | string |
swrve_location_version | swrve_location_version | Swrve Location Version | string |
swrve_messages_campaigns_downloaded | swrve_cmpgns_downloaded | Swrve Messages Campaigns Downloaded | int |
swrve_os | swrve_os | Swrve OS | string |
swrve_os_version | swrve_os_version | Swrve OS Version | string |
swrve_permission_ios_camera | swrve_permission_ios_camera | Swrve iOS Camera Permission | string |
swrve_permission_ios_contacts | swrve_permission_ios_contacts | Swrve iOS Contacts Permission | string |
swrve_permission_ios_location_always | swrve_permission_ios_location_always | Swrve iOS Location Always Permission | string |
swrve_permission_ios_location_when_in_use | swrve_permission_ios_location_when_in_use | Swrve iOS Location In Use Permission | string |
swrve_permission_ios_photos | swrve_permission_ios_photos | Swrve iOS Photos Permission | string |
swrve_permission_ios_push_notifications | swrve_permission_ios_push_notifications | Swrve iOS Push Permission | string |
swrve_sdk_version | swrve_sdk_version | Swrve SDK Version | string |
swrve_segments | swrve_segments | Swrve Segments | string |
swrve_session_start | swrve_session_start | Swrve Session Start | int |
swrve_sim_operator_code | swrve_sim_operator_code | Swrve SIM Operator Code | string |
swrve_sim_operator_iso_country_code | swrve_sim_operator_iso_country_code | Swrve SIM Operator Country | string |
swrve_sim_operator_name | swrve_sim_operator_name | Swrve SIM Operator Name | string |
swrve_timezone_name | swrve_timezone_name | Swrve Timezone Name | string |
swrve_user_id | swrve_user_id unique id | Swrve User ID | string |
swrve_user_properties_changed | swrve_user_properties_changed | Swrve User Properties Changed | int |
swrve_utc_offset_seconds | swrve_utc_offset_seconds | Swrve UTC Offset Seconds | int |
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.
- Select Swrve from the list of providers.
- Select the Import Audiences job type from the list.
- Select the Authorization you would like to use or create a new one.
- Enter a Label to identify this job you are creating in Lytics.
- (Optional) Enter a Description for further context on your job.
- Complete the configuration steps for your job.
- (optional) Select the Keep Updated checkbox, to continuously run this import.
- (Optional) Toggle Show Advanced Options.
- (Optional) From the Time of Day input, select time of day to complete the import each day.
- (Optional) From the Timezone input, select timezone for time of day.
- Click Start Import.