diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index c071dbc..d7db9db 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -166,7 +166,7 @@ function App() { toast.error( "No parent version set. Contact support or open a Github issue." ); - window.plausible("ParentVersionNull"); + addEvent("ParentVersionNull"); return prev; } diff --git a/frontend/src/components/OutputSettingsSection.tsx b/frontend/src/components/OutputSettingsSection.tsx index b007e31..97eb1f7 100644 --- a/frontend/src/components/OutputSettingsSection.tsx +++ b/frontend/src/components/OutputSettingsSection.tsx @@ -6,6 +6,7 @@ import { SelectTrigger, } from "./ui/select"; import { GeneratedCodeConfig } from "../types"; +import { addEvent } from "../lib/analytics"; function generateDisplayComponent(config: GeneratedCodeConfig) { switch (config) { @@ -62,7 +63,7 @@ function OutputSettingsSection({