mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-25 18:48:58 -06:00
* add possibility to track events with posthog by setting environment variables POSTHOG_API_KEY and POSTHOG_API_HOST
15 lines
283 B
TypeScript
15 lines
283 B
TypeScript
import Head from "next/head";
|
|
import { usePosthog } from "../../lib/posthog";
|
|
|
|
export default function BaseLayoutUnauthorized({ title, children }) {
|
|
usePosthog(null, true);
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>{title}</title>
|
|
</Head>
|
|
{children}
|
|
</>
|
|
);
|
|
}
|