1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-03-15 12:49:43 +01:00

Update events

This commit is contained in:
Kamran Ahmed 2023-03-16 01:54:41 +00:00
parent cad0813eb6
commit c5c2ee3b2c
2 changed files with 2 additions and 2 deletions

View File

@ -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}`,
});

View File

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