mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
add umami analytics integration
This commit is contained in:
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
declare global {
|
||||
interface Window {
|
||||
umami?: {
|
||||
identify(unique_id: string): void;
|
||||
identify(unique_id: string, data: object): void;
|
||||
identify(data: object): void;
|
||||
track(event_name: string, data: object): void;
|
||||
track(
|
||||
callback: (props: {
|
||||
hostname: string;
|
||||
language: string;
|
||||
referrer: string;
|
||||
screen: string;
|
||||
title: string;
|
||||
url: string;
|
||||
website: string;
|
||||
}) => object,
|
||||
): void;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
Reference in New Issue
Block a user