Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions ui/litellm-dashboard/src/components/survey/SurveyModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,21 +101,21 @@ export function SurveyModal({ isOpen, onClose, onComplete }: SurveyModalProps) {
return reasonLabels[r] || r;
});

await fetch("https://feedback.litellm.ai/", {
// Submit to feedback endpoint (redirects to Google Form)
const feedbackUrl = "https://feedback.litellm.ai/survey";

const formData = new URLSearchParams({
"entry.2015264290": data.usingAtCompany ? "Yes" : "No",
"entry.1876243786": data.companyName || "",
"entry.1282591459": data.startDate,
"entry.393456108": readableReasons.join(", "),
"entry.928142208": data.email || "",
});
Comment on lines +107 to +113
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data.otherReason field is not being sent to Google Form

The old Zapier webhook included otherReason field, but it's missing from the Google Form submission. readableReasons includes the other reason text (line 99), but the standalone otherReason field that was in the original implementation is not mapped to any form entry.

Copy link
Collaborator Author

@milan-berri milan-berri Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it IS being sent, just combined with the other reasons instead of as a separate field.


await fetch(feedbackUrl, {
method: "POST",
mode: "no-cors",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
usingAtCompany: data.usingAtCompany ? "Yes" : "No",
companyName: data.companyName || null,
startDate: data.startDate,
reasons: readableReasons.join(", "),
otherReason: data.otherReason || null,
email: data.email || null,
submittedAt: new Date().toISOString(),
}),
body: formData,
});
} catch (error) {
// Silently fail - don't block the user experience
Expand Down
Loading