- Newest
- Most votes
- Most comments
Hi,
If you want to track an event you need to create an eventTracker. You define it by calling the event tracker API: https://docs.aws.amazon.com/personalize/latest/dg/API_CreateEventTracker.html
After you create it, you can send events to this event tracker using the trackingId.
https://docs.aws.amazon.com/personalize/latest/dg/API_UBS_PutEvents.html
eventType is the type of the interaction. For a video on demand use case, that may be a "click" or a "watch" for a retail use case, it may be a "purchase event". Event types serve two purposes:
- Allow the model to learn which event types are more meaningful based on which predict future interactions more.
- Allow you to filter to only train the model with certain event types as you experiment.
If you are using domain recommender, the eventTypes are predefined, if you are creating a custom recommendation solution, it can be any string that identifies your event. Make sure the string is always exactly the same for all events of the same type.
You should add event_type to your interactions dataset if you want to use it.
This is an example of using eventTracker and no eventType: https://github.com/aws-samples/amazon-personalize-samples/tree/master/getting_started/notebooks This is an example of using eventTracker with eventType: https://github.com/aws-samples/amazon-personalize-immersion-day/tree/main/Media
Relevant content
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
Anna_G, thank you for your response. I was mistaken about the event tracker. I will make this one and push it.
Also, I am using custom as the event type, so I will use the same string to unify them.
Thank you for the tutorial. I will take a look at this one as well.