mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Add back copy and download events for UA
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user