0f0daf378c
Co-authored-by: aklinker1 <aklinker1@users.noreply.github.com>
10 lines
214 B
TypeScript
10 lines
214 B
TypeScript
import { analytics } from '#analytics';
|
|
|
|
declare const enabledCheckbox: HTMLInputElement;
|
|
|
|
analytics.autoTrack(document);
|
|
|
|
enabledCheckbox.oninput = () => {
|
|
void analytics.setEnabled(enabledCheckbox.checked);
|
|
};
|