Add back copy and download events for UA

This commit is contained in:
Misode
2022-05-09 18:10:40 +02:00
parent 8e9cc5c7ff
commit 1486a3f977

View File

@@ -170,6 +170,7 @@ export namespace Analytics {
}
export function copyOutput(file_type: string, method: Method) {
event(ID_GENERATOR, 'copy')
gtag('event', 'copy_generator_output', {
file_type,
method,
@@ -177,6 +178,7 @@ export namespace Analytics {
}
export function downloadOutput(file_type: string, method: Method) {
event(ID_GENERATOR, 'download')
gtag('event', 'download_generator_output', {
file_type,
method,