Track Events
2 min
you can log custom events to help trigger specific campaigns or segment users based on their behavior to track a basic event appstorys trackevents( event = "event name" ) if you want to include additional information along with the event, you can attach metadata like this appstorys trackevents( event = "event name", metadata = mapof( "category" to "shopping" ) ) this additional data can be useful for fine tuning campaign targeting or analysis backend events for backend events syncing, please use the backend event webhook docid\ aywnkr7otzfodxdlm8s g guide in the docs back button events campaign trigger if you want on clicking the back button, a campaign like bottom sheet or something should trigger, please ensure the screen name should be the one where the campaign should show up make sure the sdk is called in the app on that screen (if that screen has been captured, that would mean that the sdk is called) choose the event in the trigger section, and mark "yes" on the question where it says "is this event a back button?" on the dashboard