Update events

pull/3649/head
Kamran Ahmed 2 years ago
parent cad0813eb6
commit c5c2ee3b2c
  1. 2
      src/components/FrameRenderer/renderer.js
  2. 2
      src/components/TopicOverlay/topic.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}`,
});

@ -199,7 +199,7 @@ export class Topic {
window.fireEvent({
category: `RoadmapClick`,
action: `roadmap/${roadmapId}/load-topic`,
action: `${roadmapId}/load-topic`,
label: topicUrl,
});

Loading…
Cancel
Save