Skip to content

Commit

Permalink
(docs) remove umami
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Oct 17, 2024
1 parent 2453400 commit c32c74c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions docs/src/components/Interpreter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ export interface TerminalProps extends CSSProperties {
}

function track(type: string, command: string) {
const umami = globalThis.umami as any;
const _paq = globalThis._paq as PiwikTrack;
if (umami) {
umami.track('REPL', [type, command]);
}
_paq.push(['trackEvent', 'REPL', type, command]);
}

Expand Down
1 change: 0 additions & 1 deletion docs/src/theme/Footer/Layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ owa_cmds.push(['trackClicks']);
_paq.push(['setSiteId', w]);
g.type='text/javascript';g.async=true;g.defer=true;g.src=i;s.parentNode.insertBefore(g,s);
})('https://jcubic.piwik.pro/ppms.php','https://jcubic.containers.piwik.pro/ppms.js','018719ec\u002D6793\u002D4a2d\u002D92f9\u002Db8b88a01d43c',document)`}}/>
<script defer src="https://cloud.umami.is/script.js" data-website-id="422bfe77-bcfe-4cf8-a923-d496fba1bcc3"></script>
</footer>
);
}

0 comments on commit c32c74c

Please sign in to comment.