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 Default Field | Description | Type |
---|---|---|---|
google_advertising_id | google_aid unique id | Google Advertising ID | string |
advertising_id | idfa unique id | Identifier for Advertising (IDFA) for iOS Devices | string |
customer_ids.customer_id | localytics_customer_id unique id | Localytics Customer ID | string |
app | localytics_app | Localytics App | string |
app_ver | localytics_app_ver | Localytics App Version | string |
carrier | localytics_device_carrier | Localytics Device Carrier | string |
device_uuid | localytics_device_id | Localytics Device ID | string |
device_timezone | localytics_timezone | Localytics Device Timezone | int |
language | localytics_language | Localytics Language | string |
limit_advertising | localytics_limit_advertising | Localytics Limit Advertising | boolean |
type | localytics_type | Localytics Event Type | 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 |
user_type | localytics_user_type | Localytics User Type | string |
name | localytics_event_name | Localytics Last Event Name | string |
custom.drop_reason | localytics_drop_reason | Localytics Last Drop Reason | string |
custom.request_id | localytics_request_id | Localytics Last Request ID | string |
Configuration
Follow these steps to set up and configure an import of Localytics mobile activity.
- Log into your Lytics account.
- Click on the Localytics tile in the Integrations section of Lytics
- Select Import Localytics Events.
- Select the authorization you would like to use. If you haven't added an authorization yet, click on + Add new authorization. See Localytics Authorization for more details.
- Configure the workflow
- Localytics App - required: select the Localytics App to pull activity data from. To import data from multiple apps, run multiple activity imports.
- Start Date - optional: choose a past date to pull in historical activity data. If left empty, only new activity data will be imported.
- Keep Updated - uncheck to only import historical data.
- Click Start Import to start the activity import.
- Activity data should appear in the
localytics_activity
stream in the Data Streams section in Lytics within a couple hours, and the mapped user fields above will be added to the user profiles as new activity data is imported.