diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 5bf973b..e9ba1ce 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -77,6 +77,12 @@ function App() { }; const downloadCode = () => { + try { + window.plausible("Download"); + } catch { + // Ignore + } + // Create a blob from the generated code const blob = new Blob([generatedCode], { type: "text/html" }); const url = URL.createObjectURL(blob);