We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f35ab3 commit 345c13cCopy full SHA for 345c13c
assets/js/chatmkModal.js
@@ -9,6 +9,11 @@
9
function openChatMKModal() {
10
console.log('Opening ChatMK modal...');
11
12
+ // Track modal opening event
13
+ if (typeof umami !== 'undefined') {
14
+ umami.track('modal-chatmk-open');
15
+ }
16
+
17
// Close command palette if it's open
18
const ninjaKeys = document.querySelector('ninja-keys');
19
if (ninjaKeys) {
assets/js/commandPalette.js
@@ -36,6 +36,10 @@ const openSearchModal = () => {
36
ninjaKeys.close();
37
} else {
38
ninjaKeys.open();
39
40
41
+ umami.track('modal-cmdk-open');
42
43
}
44
};
45
0 commit comments