Skip to content

Commit

Permalink
fix options.domain
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Jan 20, 2025
1 parent 2287589 commit c7dd958
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/web/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ export default function RootProviders({ children }: { children: ReactNode }) {
<Toaster closeButton className="pointer-events-auto" />
<PosthogPageview />
{children}
<DubAnalytics apiHost="/_proxy/dub" shortDomain="refer.dub.co" />
<DubAnalytics
apiHost="/_proxy/dub"
shortDomain="refer.dub.co"
cookieOptions={{
domain: ".dub.co",
}}
/>
</KeyboardShortcutProvider>
</TooltipProvider>
</PostHogProvider>
Expand Down

0 comments on commit c7dd958

Please sign in to comment.