checkpoint

This commit is contained in:
Brian Cao 2022-07-29 22:30:09 -07:00
parent 3e2c098c05
commit 8f934c7e6c
14 changed files with 73 additions and 63 deletions

View file

@ -37,7 +37,8 @@ export default function TestConsole() {
function handleClick() {
window.umami('event (default)');
window.umami.trackView('/page-view', 'https://www.google.com');
window.umami.trackEvent('event (custom)', 'custom-type');
window.umami.trackEvent('event (custom)', null, 'custom-type');
window.umami.trackEvent('event (custom)', { test: 'test-data' }, 'custom-data-type');
}
return (