feat: Update @dub/analytics to support domainsConfig.refer (#20495)
* Update `@dub/analytics` to support domainsConfig.refer * add reverse proxy --------- Co-authored-by: Amit Sharma <[email protected]> Co-authored-by: Tushar Bhatt <[email protected]>
This commit is contained in:
4 files changed
+15
-6
No files matched your search
@@ -317,9 +317,13 @@ export default function Signup({
|
||||
</>
|
||||
)}
|
||||
<DubAnalytics
|
||||
apiHost="/_proxy/dub"
|
||||
cookieOptions={{
|
||||
domain: isENVDev ? undefined : `.${new URL(WEBSITE_URL).hostname}`,
|
||||
}}
|
||||
domainsConfig={{
|
||||
refer: "refer.cal.com",
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
) : null}
|
||||
|
||||
Reference in new issue
Block a user