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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: ad block disabled tracking would block ga then can not pay (#1741)
Joeldfd3f507fbb1
diff --git a/web/app/components/billing/pricing/plan-item.tsx b/web/app/components/billing/pricing/plan-item.tsxindex 7778879b026..db6a64ec86e 100644--- a/web/app/components/billing/pricing/plan-item.tsx+++ b/web/app/components/billing/pricing/plan-item.tsx@@ -141,18 +141,8 @@ const PlanItem: FC<Props> = ({setLoading(true)try {const res = await fetchSubscriptionUrls(plan, isYear ? 'year' : 'month')- if ((window as any).gtag) {- (window as any).gtag('event', 'click_pay_btn', {- plan,- interval: isYear ? 'year' : 'month',- event_callback: () => {- window.location.href = res.url- },- })- }- else {- window.location.href = res.url- }+ // Adb Block additional tracking block the gtag, so we need to redirect directly+ window.location.href = res.url}finally {setLoading(false)diff --git a/web/app/components/billing/upgrade-btn/index.tsx b/web/app/components/billing/upgrade-btn/index.tsxindex cc382eb9b93..e53bada5142 100644--- a/web/app/components/billing/upgrade-btn/index.tsx+++ b/web/app/components/billing/upgrade-btn/index.tsx@@ -51,15 +51,12 @@ const UpgradeBtn: FC<Props> = ({(setShowPricingModal as any)()}const onClick = () => {+ handleClick()if (loc && (window as any).gtag) {(window as any).gtag('event', 'click_upgrade_btn', {loc,- event_callback: handleClick,})}- else {- handleClick()- }}if (isPlain)