show pathnames for example edits

This commit is contained in:
adueck 2023-02-01 23:33:45 +05:00
parent 4558db251f
commit 450980d982
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ function EditableEPEx({ children, opts, hideOmitSubject, noEdit }: { children: T
if (isProd && !(user?.admin)) {
ReactGA.event({
category: "Example",
action: "edit EPex",
action: `edit EPex - ${window.location.pathname}`,
label: "edit EPex"
});
}

View File

@ -34,7 +34,7 @@ function EditableVPEx({ children, opts, formChoice, noEdit, length, mode, sub, a
if (isProd && !(user?.admin)) {
ReactGA.event({
category: "Example",
action: "edit VPex",
action: `edit VPex - ${window.location.pathname}`,
label: "edit VPex"
});
}