瀏覽代碼

fix: utm (#2191)

tags/0.5.1
zxhlyh 1 年之前
父節點
當前提交
77636945fb
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      web/context/provider-context.tsx

+ 2
- 1
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 () => {

Loading…
取消
儲存