To track user sentiment in analytics, first define which emotional signals matter for your product. Collect them through surveys, reviews, support tickets, and in-app reactions. Standardize scores and labels into structured events, feed them into your analytics stack, and build dashboards that trend sentiment by journey stage, segment, and revenue impact.