1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-28 19:49:50 +02:00

Add event tracking for done/pending

This commit is contained in:
Kamran Ahmed
2023-03-16 02:09:26 +00:00
parent c5c2ee3b2c
commit 3d655965f6
2 changed files with 8 additions and 2 deletions

View File

@@ -22,6 +22,9 @@ const { contentContributionLink } = Astro.props;
<div id='topic-actions' class='hidden mb-2'> <div id='topic-actions' class='hidden mb-2'>
<button <button
id='mark-topic-done' id='mark-topic-done'
ga-category='TopicClick'
ga-action='topic/mark-completion'
ga-label='done'
class='bg-green-600 text-white p-1 px-2 text-sm rounded-md hover:bg-green-700 inline-flex items-center' class='bg-green-600 text-white p-1 px-2 text-sm rounded-md hover:bg-green-700 inline-flex items-center'
> >
<Icon icon='check' /> <Icon icon='check' />
@@ -30,6 +33,9 @@ const { contentContributionLink } = Astro.props;
<button <button
id='mark-topic-pending' id='mark-topic-pending'
ga-category='TopicClick'
ga-action='topic/mark-completion'
ga-label='pending'
class='hidden bg-red-600 text-white p-1 px-2 text-sm rounded-md hover:bg-red-700 inline-flex items-center' class='hidden bg-red-600 text-white p-1 px-2 text-sm rounded-md hover:bg-red-700 inline-flex items-center'
> >
<Icon icon='reset' /> <Icon icon='reset' />

View File

@@ -12,13 +12,13 @@ dimensions:
width: 968 width: 968
height: 3316.15 height: 3316.15
schema: schema:
headline: "Cyber Security Roadmap" headline: "Cyber Security Roadmap: Learn to become a Cyber Security Expert"
description: "Learn how to become a Cyber Security expert with this interactive step by step guide in 2023. We also have resources and short descriptions attached to the roadmap items so you can get everything you want to learn in one place." description: "Learn how to become a Cyber Security expert with this interactive step by step guide in 2023. We also have resources and short descriptions attached to the roadmap items so you can get everything you want to learn in one place."
imageUrl: "https://roadmap.sh/roadmaps/cyber-security.png" imageUrl: "https://roadmap.sh/roadmaps/cyber-security.png"
datePublished: "2023-01-05" datePublished: "2023-01-05"
dateModified: "2023-01-20" dateModified: "2023-01-20"
seo: seo:
title: "Cyber Security Roadmap" title: "Cyber Security Roadmap: Learn to become a Cyber Security Expert"
description: "Community driven, articles, resources, guides, interview questions, quizzes for cyber security. Learn to become a modern Cyber Security Expert by following the steps, skills, resources and guides listed in this roadmap." description: "Community driven, articles, resources, guides, interview questions, quizzes for cyber security. Learn to become a modern Cyber Security Expert by following the steps, skills, resources and guides listed in this roadmap."
keywords: keywords:
- "guide to becoming a cyber security expert" - "guide to becoming a cyber security expert"