diff --git a/config/posthog.config.ts b/config/posthog.config.ts new file mode 100644 index 0000000..4c70369 --- /dev/null +++ b/config/posthog.config.ts @@ -0,0 +1,20 @@ +const posthogConfig = { + routes: { + '/': { + events: { + page_view: {}, + button_clicked: { + properties: { buttonName: 'Hero Button' }, + }, + }, + }, + '/about': { + events: { + page_view: { properties: { aboutSection: 'Intro' } }, + form_submitted: {}, + }, + }, + }, +}; + +export default posthogConfig;