Skip to main content

ExperienceRating

Need an API key?

Get one from Crave Dashboard > Developers > API Development > Step 1 - API Keys. Copy the matching locationId from Step 2 - Location IDs on the same page.
A feedback widget shown after order completion that lets customers rate their experience with star ratings and optional text feedback.

Preview

Import

Usage

Props

string
required
The order ID to associate the feedback with.
(rating: FeedbackRating) => void
required
Callback fired when the customer submits their rating.
() => void
required
Callback fired when the customer dismisses the rating prompt.

Behavior

  • 5-star rating with tap/click interaction
  • Optional text feedback field appears after rating
  • Category tags for specific feedback (food quality, speed, accuracy)
  • Submits to the analytics events API
  • Only shown once per order