Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
/**
* This is a stub for custom form onsubmit handlers Plausible users may have on their websites.
* Overriding onsubmit with a custom handler is common practice in web development for a variety of reasons (mostly UX),
* so this stub can be used in tests to simulate such behavior.
*/
export const customSubmitHandlerStub =
'"event.preventDefault(); console.log(\'Submitted\')"'