Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: utm (#2191)

zxhlyh77636945fb33
diff --git a/web/context/provider-context.tsx b/web/context/provider-context.tsx
index ae8b8dbbf18..4cd22ddfa6b 100644
--- a/web/context/provider-context.tsx
+++ b/web/context/provider-context.tsx
@@ -113,7 +113,8 @@ export const ProviderContextProvider = ({
utm_term: '',
}
}
- operationUtm({ url: '/operation/utm', body: utm })
+ if (utm.utm_source || utm.utm_medium || utm.utm_campaign || utm.utm_content || utm.utm_term)
+ operationUtm({ url: '/operation/utm', body: utm })
}
useEffect(() => {
(async () => {