Localytics: Import Activity
Import mobile activity from Localytics to add mobile behavior data to user profiles in Lytics.
Integration Details
- Implementation Type: Server-side.
- Implementation Technique: REST API.
- Frequency: One-time batch, or hourly continuous imports.
- Resulting Data: Raw event data
This integration utilizes the Localytics raw logs export API to retrieve event data:
- Every hour, requests the full hour of logs for the mobile activity from 2 hours prior period.
- Ingests the activity into the Lytics data stream
localytics_activity
Fields
The following fields are included in the default mapping of the localytics_activity
stream:
Source Field | Lytics User Field | Description | Type |
---|---|---|---|
customer_ids.customer_id | localytics_customer_id unique id | Localytics Customer ID | string |
set(advertising_id) | idfas unique id | IDFAs | []string |
set(google_advertising_id) | google_aids unique id | Google Advertising IDs | []string |
advertising_id | idfa | Current IDFA | string |
app | localytics_app | Localytics App | string |
app_ver | localytics_app_ver | Localytics App Version | string |
carrier | localytics_device_carrier | Localytics Device Carrier | string |
count(type) | localytics_eventct | Localytics Event Count | int |
count(type) | localytics_openct | Localytics Open Count | int |
custom.drop_reason | localytics_drop_reason | Localytics Last Drop Reason | string |
custom.request_id | localytics_request_id | Localytics Last Request ID | string |
device_timezone | localytics_timezone | Localytics Device Timezone | string |
device_uuid | localytics_device_id | Localytics Device ID | string |
google_advertising_id | google_aid | Current Google Advertising ID | string |
language | localytics_language | Localytics Language | string |
limit_advertising | localytics_limit_advertising | Localytics Limit Advertising | bool |
max(epochms()) | localytics_lastevent_ts | Localytics Last Event | date |
max(epochms()) | localytics_lastopen_ts | Localytics Last Open | date |
name | localytics_event_name | Localytics Last Event Name | string |
os_ver | localytics_os_version | Localytics OS Version | string |
platform | localytics_platform | Localytics Platform | string |
push_status | localytics_push_status | Localytics Push Status | string |
type | localytics_type | Localytics Type | string |
user_type | localytics_user_type | Localytics User Type | string |
Configuration
Follow these steps to set up and configure an import job for localytics in the Lytics platform. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.
- Select Localytics.
- Select the Import Activity Data job type from the list.
- Select the Authorization you would like to use or create a new one.
- Complete the configuration steps for your job.
- From the Localytics App input, select select the Localytics app to import activity data from.
- In the Start Date text box, enter a past date to pull in historical activity data. If left empty, only new activity data will be imported. Please use the format yyyy-mm-dd, e.g. 2019-03-27.
- Select the Keep Updated checkbox, to continuously import Localytics activity.
- Click Start Import.