ExperienceRating
Need storefront configuration?
Use the public API origin, merchant slug, and location ID. Storefront components
never receive a Crave API key; register each exact browser origin before making
requests.
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
