diff --git a/docs/src/modules/components/Demo.js b/docs/src/modules/components/Demo.js
index 7a39b301991b80..672a9b647964cb 100644
--- a/docs/src/modules/components/Demo.js
+++ b/docs/src/modules/components/Demo.js
@@ -253,7 +253,6 @@ function Demo(props) {
const showSourceHint = demoHovered && !sourceHintSeen;
const DemoComponent = demoData.Component;
- const gaCategory = demoOptions.demo;
const demoName = getDemoName(demoData.githubLocation);
const demoSandboxedStyle = React.useMemo(
() => ({
@@ -339,7 +338,7 @@ function Demo(props) {
demo={demo}
codeOpen={codeOpen}
codeVariant={codeVariant}
- gaEventCategory={gaCategory}
+ gaEventLabel={demoOptions.demo}
onLanguageClick={handleCodeLanguageClick}
/>
@@ -353,7 +352,8 @@ function Demo(props) {
>
-
-
-
-
-
{demoOptions.hideEditButton ? null : (
@@ -393,6 +378,23 @@ function Demo(props) {
)}
+
+
+
+
+
{demoOptions.hideEditButton ? null : (
)}