Skip to content

Commit 050f473

Browse files
authored
Merge pull request #236 from makeplane/update-cookie-consent
Update cookie consent
2 parents f0704cb + 921b183 commit 050f473

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/.vitepress/theme/components/CookieConsent.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<script setup lang="ts">
22
import { ref, onMounted } from "vue";
33
4+
declare global {
5+
interface Window {
6+
gtag?: (...args: any[]) => void;
7+
posthog?: {
8+
opt_in_capturing?: () => void;
9+
opt_out_capturing?: () => void;
10+
};
11+
}
12+
}
13+
414
const STORAGE_KEY = "plane-docs-cookie-consent";
515
const showBanner = ref(false);
616

0 commit comments

Comments
 (0)