Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix: replace Zapier webhook with Google Form for survey submission (#21621)

milan-berri5390469c1b29
diff --git a/ui/litellm-dashboard/src/components/survey/SurveyModal.tsx b/ui/litellm-dashboard/src/components/survey/SurveyModal.tsx
index 9fc1cf1fb3a..a6b7ec8c0cc 100644
--- a/ui/litellm-dashboard/src/components/survey/SurveyModal.tsx
+++ b/ui/litellm-dashboard/src/components/survey/SurveyModal.tsx
@@ -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 || "",
+ });
+
+ 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