Documentation / Product / Integrations / Amazon Web Services / Amazon Pinpoint

Amazon Pinpoint: Import Activity Data

Import email, push, or mobile activity from Amazon Pinpoint to add behavior data to your user profiles in Lytics.

Integration Details

Importing Pinpoint activity into Lytics requires setting up an export of Pinpoint Events to Kinesis. See Amazon's documentation for more information, and follow these instructions to set it up via the Pinpoint UI.

This integration uses the Amazon Kinesis Data Streams Service APIs to get Pinpoint activity records from the Kinesis stream in near real-time. You can then start the Pinpoint import job in Lytics.

  1. Once the import is started, the Pinpoint events will be continuously read off the Kinesis stream into Lytics in near real-time. Data is pulled from Kinesis via the GetRcords endpoint.
  2. The activity data will be ingested into the Lytics data stream pinpoint_activity.

Fields

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

Source FieldLytics User FieldDescriptionType
endpoint.Idemail unique idstring
last_active_tsLast Active on Any Channeldate
event_typepinpoint_clickctPinpoint Click Countint
pinpoint_firstclick_tsPinpoint First Clickdate
pinpoint_hourly_openPinpoint Hourly event_typesmap[string]intsum
pinpoint_hourofweekPinpoint Hour of Week event_typesmap[string]intsum
pinpoint_last_open_tsPinpoint Last Opendate
pinpoint_lastclick_tsPinpoint Last Clickdate
pinpoint_monthlyPinpoint Opens By Monthmap[string]intsum
event_typepinpoint_openctPinpoint Open Countint
event_typepinpoint_sendctPinpoint Send Countint
endpoint.Statuspinpoint_statusPinpoint Endpoint Statusstring

Configuration

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

  1. Select Amazon AWS Services from the list of providers.
  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. Enter a Label to identify this job you are creating in Lytics.
  5. (Optional) Enter a Description for further context on your job.
  6. From the Region input, enter the AWS region that the Kinesis stream resides in (e.g. us-east-1).
  7. From the Kinesis Stream input, enter the AWS Kinesis stream that is connected to the Pinpoint activity.
  8. Click Start Import. pinpoint activity import

If activity data is avaiable in the Kinesis Pinpoint stream, the data will appear in Lytics within a few minutes.