Logo

How 'Best Seller' and 'Must Try' Tags Power Smarter Food Choices on Food Delivery Platforms

Lokesh Lohar, Senior Data Analyst

Mon Jul 14 2025

6 min

Data Science, Food Delivery, Restaurant Tech, Menu Optimization, Recommendations

Imagine scrolling through a hundred menu items at a restaurant—what should you order? That’s where “Best Seller” and “Must Try” tags come in. These data-powered labels help you cut through the clutter and find meals that others love—and that you probably will too.

Item Tagging Example

In this blog, we delve into the technical process behind these tags, highlighting how data-driven insights can enhance your dining experience.


Objective

The Power of Best Seller and Must Try Tags

The Best Seller tag identifies menu items with the highest order volumes at each restaurant, reflecting their widespread popularity. The Must Try tag highlights menu items that combine strong sales with exceptional customer ratings, offering a curated selection of standout dishes. Some items earn both tags, marking them as crowd favorites with top-notch quality.

Technical Architecture

1. Data Collection

The system gathers data from customer orders over the past three months, focusing on:

2. Data Cleaning and Preparation

To ensure accuracy, the data undergoes rigorous cleaning:

3. Percentile-Based Tagging

The tagging logic uses percentile analysis to identify top-performing items:

This approach ensures fairness across restaurants with varying order volumes.

4. Database Updates

Finally, we batch-update the MySQL database with tags using efficient tab-separated CSV streams.

Tags stored as JSON arrays in Menu_Items.tags : [“BESTSELLER”, “MUST_TRY”]

A simple yet robust function ensures:

Hybrid Tagging Workflow :

Item Tagging Flow

5. Logging and Monitoring

Every step is logged for transparency, capturing successes and errors with timestamps to ensure reliability.

Technical Stack

ComponentTools/Techniques
Data ExtractionSQLAlchemy, MySQL
Data ProcessingPandas (percentiles, grouping, cleaning)
Statistical EngineNumpy-based percentile calculations
Database Updatesmysql.connector + CSV batch processing
MonitoringPython logging with timestamps

Business Impact

Future Enhancements

  1. Personalized Tags: User-specific tags based on dietary preferences and context-aware tags like “Train-Friendly Meals”.
  2. Real-Time Thresholds: Dynamic percentile adjustments during peak hours.
  3. Seasonal Trends: Holiday-specific tagging (e.g., “Festive Special”).

Conclusion

The menu tagging system transforms chaotic menus into curated culinary journeys. By combining statistical rigor with restaurant-specific adaptability, we ensure every traveler discovers unforgettable meals—whether it’s a bustling station’s best-selling “Special Veg Thali” or hidden gems like:

This isn’t just about tags; it’s about making India’s diverse food heritage discoverable, one railway journey at a time.


More from the journey

Want to read more about how we think and build at Ipsator?

logo_image

100+ million lives touched