mirror of https://github.com/VERT-sh/VERT.git
feat: better analytics
This commit is contained in:
parent
e0f26ba488
commit
b1f4d430a2
|
@ -72,13 +72,14 @@
|
||||||
for (let i = 0; i < files.files.length; i++) {
|
for (let i = 0; i < files.files.length; i++) {
|
||||||
promises.push(
|
promises.push(
|
||||||
(async (i) => {
|
(async (i) => {
|
||||||
await convert(files.files[i], i);
|
|
||||||
window.plausible("Convert", {
|
window.plausible("Convert", {
|
||||||
props: {
|
props: {
|
||||||
"Format from": files.files[i].from,
|
"Format from": files.files[i].from.toLowerCase(),
|
||||||
"Format to": files.files[i].to,
|
"Format to": files.files[i].to.toLowerCase(),
|
||||||
|
Conversion: `${files.files[i].from.toLowerCase()} to ${files.files[i].to.toLowerCase()}`,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
await convert(files.files[i], i);
|
||||||
})(i),
|
})(i),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue