Documentation / Product / Integrations / Localytics

Localytics: Import Activity

Import mobile activity from Localytics to add mobile behavior data to user profiles in Lytics.

Integration Details

This integration utilizes the Localytics raw logs export API to retrieve event data:

  1. Every hour, requests the full hour of logs for the mobile activity from 2 hours prior period.
  2. 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 FieldLytics User FieldDescriptionType
customer_ids.customer_idlocalytics_customer_id unique idLocalytics Customer IDstring
set(advertising_id)idfas unique idIDFAs[]string
set(google_advertising_id)google_aids unique idGoogle Advertising IDs[]string
advertising_ididfaCurrent IDFAstring
applocalytics_appLocalytics Appstring
app_verlocalytics_app_verLocalytics App Versionstring
carrierlocalytics_device_carrierLocalytics Device Carrierstring
count(type)localytics_eventctLocalytics Event Countint
count(type)localytics_openctLocalytics Open Countint
custom.drop_reasonlocalytics_drop_reasonLocalytics Last Drop Reasonstring
custom.request_idlocalytics_request_idLocalytics Last Request IDstring
device_timezonelocalytics_timezoneLocalytics Device Timezonestring
device_uuidlocalytics_device_idLocalytics Device IDstring
google_advertising_idgoogle_aidCurrent Google Advertising IDstring
languagelocalytics_languageLocalytics Languagestring
limit_advertisinglocalytics_limit_advertisingLocalytics Limit Advertisingbool
max(epochms())localytics_lastevent_tsLocalytics Last Eventdate
max(epochms())localytics_lastopen_tsLocalytics Last Opendate
namelocalytics_event_nameLocalytics Last Event Namestring
os_verlocalytics_os_versionLocalytics OS Versionstring
platformlocalytics_platformLocalytics Platformstring
push_statuslocalytics_push_statusLocalytics Push Statusstring
typelocalytics_typeLocalytics Typestring
user_typelocalytics_user_typeLocalytics User Typestring

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.

  1. Select Localytics.
  2. Select the Import Activity Data job type from the list.
  3. Select the Authorization you would like to use or create a new one.
  4. Complete the configuration steps for your job. localytics import activity
  5. From the Localytics App input, select select the Localytics app to import activity data from.
  6. 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.
  7. Select the Keep Updated checkbox, to continuously import Localytics activity.
  8. Click Start Import.