Skip to content

Commit

Permalink
feat: ✨ add amplitude domain proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideSegullo committed Dec 18, 2024
1 parent 4d338e4 commit 07a4a6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/web/hooks/use-amplitude-analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ export function useAmplitudeAnalytics({
useEffect(() => {
if (init) {
if (process.env.NEXT_PUBLIC_AMPLITUDE_API_KEY !== undefined) {
amplitudeInit(process.env.NEXT_PUBLIC_AMPLITUDE_API_KEY);
amplitudeInit(process.env.NEXT_PUBLIC_AMPLITUDE_API_KEY, undefined, {
serverUrl: "https://amplitude.osmosis.zone/2/httpapi",
});
}
}

Expand Down

0 comments on commit 07a4a6e

Please sign in to comment.