Posted On: Aug 9, 2018
You can now record analytics and messaging events directly using the Amazon Pinpoint Events Ingestion API. The API supports submission of events individually or in batches, updating user endpoints along with events generated by the user that can be used to record user events from your backend in addition to events recorded by your client application.
You can now record analytics and messaging events directly using the Amazon Pinpoint Events API, which is also part of the AWS SDKs. Previously, the only way to record events with Pinpoint was using the AWS mobile SDKs or libraries like AWS Amplify. The new Events API enables you to build your own client for recording events with any customization that you desire. The API also enables you to record events directly from your backend, either individually or in batches. This is useful if you don’t capture all your events on the client application and would like to record server-side events with Pinpoint. For instance, say you capture certain usage analytics directly to your backend to add additional attributes to the events. You can now record these events with Pinpoint from your backend using this API.
The API also supports recording and updating user endpoints along with the events generated by your users. As an example, say a user takes an action in your application that changes their status to a premium user. You can now record the user action as an event and simultaneously update a custom endpoint attribute of that user from ‘free’ to ‘premium’. If you export events via Event Streams, you will then receive the updated user endpoint along with the event, on which you can perform additional analysis.
To learn more about the API, visit the Amazon Pinpoint Developer guide and API Reference pages.