mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-11 11:43:58 +02:00
Update events
This commit is contained in:
@@ -114,7 +114,7 @@ export class Renderer {
|
|||||||
// RoadmapClick, BestPracticesClick, etc
|
// RoadmapClick, BestPracticesClick, etc
|
||||||
category: `${pageType.replace('-', '')}Click`,
|
category: `${pageType.replace('-', '')}Click`,
|
||||||
// roadmap/frontend/switch-version
|
// roadmap/frontend/switch-version
|
||||||
action: `${this.resourceType}/${this.resourceId}/switch-version`,
|
action: `${this.resourceId}/switch-version`,
|
||||||
// roadmap/frontend/switch-version
|
// roadmap/frontend/switch-version
|
||||||
label: `${newJsonFileSlug}`,
|
label: `${newJsonFileSlug}`,
|
||||||
});
|
});
|
||||||
|
@@ -199,7 +199,7 @@ export class Topic {
|
|||||||
|
|
||||||
window.fireEvent({
|
window.fireEvent({
|
||||||
category: `RoadmapClick`,
|
category: `RoadmapClick`,
|
||||||
action: `roadmap/${roadmapId}/load-topic`,
|
action: `${roadmapId}/load-topic`,
|
||||||
label: topicUrl,
|
label: topicUrl,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user