diff --git a/src/components/FrameRenderer/renderer.js b/src/components/FrameRenderer/renderer.js index 5b4e16fac5..bd969cc30a 100644 --- a/src/components/FrameRenderer/renderer.js +++ b/src/components/FrameRenderer/renderer.js @@ -114,7 +114,7 @@ export class Renderer { // RoadmapClick, BestPracticesClick, etc category: `${pageType.replace('-', '')}Click`, // roadmap/frontend/switch-version - action: `${this.resourceType}/${this.resourceId}/switch-version`, + action: `${this.resourceId}/switch-version`, // roadmap/frontend/switch-version label: `${newJsonFileSlug}`, }); diff --git a/src/components/TopicOverlay/topic.js b/src/components/TopicOverlay/topic.js index a242c00112..bdb1663bc8 100644 --- a/src/components/TopicOverlay/topic.js +++ b/src/components/TopicOverlay/topic.js @@ -199,7 +199,7 @@ export class Topic { window.fireEvent({ category: `RoadmapClick`, - action: `roadmap/${roadmapId}/load-topic`, + action: `${roadmapId}/load-topic`, label: topicUrl, });