explaura / pinpoint

Toying around with Pinpoint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pinpoint

Requirements

  • saml2aws
  • amplify CLI

Getting started with Pinpoint

  1. Login to AWS using saml2aws:
saml2aws login
  1. Initialise project with Amplify
amplify init
  1. Register Pinpoint
amplify add analytics
  1. Create analytics in AWS
amplify push

Note that Pinpoint contains a region mapping. For ap-southeast-2 region the Pinpoint analytics are created in us-west-2

Endpoints

Add an imported endpoint:

aws pinpoint update-endpoint \
    --application-id 5b779659e645452d8acc6fe293918eb8 \
    --endpoint-id laura-mobile-endpoint \
    --endpoint-request file://endpoint-request-file.json

Alternatively, follow the documentation found here.

Segments & Campaigns

This tutorial provides a simple way to create a segment based off existing/imported endpoints, and then creating a campaign to target that segment.

Learnings

  • Endpoints:
  • Filters:
    • ability to specify attributes in order to start narrowing down the types of endpoints you want to target
  • Segments:
    • a group of endpoints which has 0 or more filters applied
    • get a live view (dynamic endpoints only) of how many users you are targeting based off filters applied to segment
  • Events:
    • integrated apps provide usage data (events)
    • view events in the Pinpoint console to view how/when/how often users are using the app

About

Toying around with Pinpoint


Languages

Language:Java 100.0%