Browse Source

fix: utm (#2191)

tags/0.5.1
zxhlyh 1 year ago
parent
commit
77636945fb
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      web/context/provider-context.tsx

+ 2
- 1
web/context/provider-context.tsx View File

@@ -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 () => {

Loading…
Cancel
Save