show pathnames for example edits
This commit is contained in:
parent
4558db251f
commit
450980d982
|
@ -25,7 +25,7 @@ function EditableEPEx({ children, opts, hideOmitSubject, noEdit }: { children: T
|
||||||
if (isProd && !(user?.admin)) {
|
if (isProd && !(user?.admin)) {
|
||||||
ReactGA.event({
|
ReactGA.event({
|
||||||
category: "Example",
|
category: "Example",
|
||||||
action: "edit EPex",
|
action: `edit EPex - ${window.location.pathname}`,
|
||||||
label: "edit EPex"
|
label: "edit EPex"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ function EditableVPEx({ children, opts, formChoice, noEdit, length, mode, sub, a
|
||||||
if (isProd && !(user?.admin)) {
|
if (isProd && !(user?.admin)) {
|
||||||
ReactGA.event({
|
ReactGA.event({
|
||||||
category: "Example",
|
category: "Example",
|
||||||
action: "edit VPex",
|
action: `edit VPex - ${window.location.pathname}`,
|
||||||
label: "edit VPex"
|
label: "edit VPex"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue