Skip to content

Commit

Permalink
Update events
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Mar 16, 2023
1 parent cad0813 commit c5c2ee3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/FrameRenderer/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/TopicOverlay/topic.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export class Topic {

window.fireEvent({
category: `RoadmapClick`,
action: `roadmap/${roadmapId}/load-topic`,
action: `${roadmapId}/load-topic`,
label: topicUrl,
});

Expand Down

0 comments on commit c5c2ee3

Please sign in to comment.