diff --git a/src/components/phrase-diagram/EditableEPEx.tsx b/src/components/phrase-diagram/EditableEPEx.tsx index 911b0e8..45203a0 100644 --- a/src/components/phrase-diagram/EditableEPEx.tsx +++ b/src/components/phrase-diagram/EditableEPEx.tsx @@ -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" }); } diff --git a/src/components/phrase-diagram/EditableVPEx.tsx b/src/components/phrase-diagram/EditableVPEx.tsx index 509608c..372fd74 100644 --- a/src/components/phrase-diagram/EditableVPEx.tsx +++ b/src/components/phrase-diagram/EditableVPEx.tsx @@ -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" }); }