mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
10eb500360
* add plausible custom event tracking * refactor: better comments for analytics tracking
7 lines
179 B
TypeScript
7 lines
179 B
TypeScript
import { createContext } from 'react';
|
|
import Plausible from 'plausible-tracker';
|
|
|
|
export const PlausibleContext = createContext<ReturnType<
|
|
typeof Plausible
|
|
> | null>(null);
|