![]() We define a method called trackUserId in which we get the current user. This method maps over an object and returns a new object that has all its values replaced with arrays of strings of these values. Here is how you do that.įirst, we define some helper methods that let us construct mapToArrayOfStrings. In other words, we need to give the endpoint a channel and an address. But we do need to update it with the user's data. The address specifies where to message the endpoint, such as a device token, phone number, or email address.Īctually, as soon as we started using Analytics, an endpoint was already created for the user. Examples of channels include a push notification service, SMS, or email. The channel is the type of platform that you use to message the endpoint. When you define an endpoint, you specify the channel and address. Okay, to message a user, we need to define an endpoint with his email address. Before you can message a member of your audience, you must define one or more endpoints for that individual. The endpoint docs do a great job of explaining them, so let me quote them.Īn endpoint represents a destination that you can message-such as a mobile device, phone number, or email address. For that, we need to configure an endpoint. What we haven't done is recording exactly which user visited the URLs. I'm just gonna point out, that just like record autoTrack also accepts an attribute key for custom attributes. ![]() (Remember to wait a couple of minutes, if you're not seeing anything yet.)Ĭheck out the page view tracking docs for all options that you can pass to autoTrack. ![]() Under "Events" you can now see which URL has been visited how often. If not, make sure to at least look at the routing before you skip to "Tracking".Ĭlick around in your app and check your console. If you want to code along follow the steps here. With relevant I mean being right about the conversation you have, the audience you target and the place and time you choose to interact. And AWS Pinpoint allows you to send them engaging, customized and relevant messages. With AWS Amplify, you can easily track your users' activity. How do you know that your users are enjoying it? And how do you remind them to keep using your app □? Let's suppose you have a brand new feature for your website, PWA or mobile app. If you're running a company, it's essential to know your metrics. Do you want to learn how to accelerate the creation of your projects using Amplify □? For beginners, I recommend checking out Nader Dabit's free course on egghead, or Amplify's 'Getting Started' to learn the basics. Note: This post is a tutorial for intermediates. In this tutorial, you are going to learn how you can use the analytics category from AWS Amplify together with AWS Pinpoint to understand and engage your users. Track which features your users use in AWS Amplify and send them emails, push-notifications and SMS based on their behavior.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |