aws-mobile-analytics In order to use this code to push analytics data to Amazon Mobile Analytics you need to Create an AWS account and then create an AWS Mobile Analytics App with Cognito Identity Pool Id Replace these IDs in the code.