55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
66 < title > GPU Hot - Real-time NVIDIA GPU Monitoring</ title >
77 < meta name ="description " content ="Sub-second GPU monitoring in your browser. No monitoring infrastructure, no complex dashboards. ">
8+
9+ <!-- Google Analytics -->
10+ < script async src ="https://www.googletagmanager.com/gtag/js?id=G-RPQC788155 "> </ script >
11+ < script >
12+ window . dataLayer = window . dataLayer || [ ] ;
13+ function gtag ( ) { dataLayer . push ( arguments ) ; }
14+ gtag ( 'js' , new Date ( ) ) ;
15+ gtag ( 'config' , 'G-RPQC788155' ) ;
16+ </ script >
17+
818 < link rel ="preconnect " href ="https://fonts.googleapis.com ">
919 < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin >
1020 < link href ="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap " rel ="stylesheet ">
608618 < nav >
609619 < div class ="nav-content ">
610620 < div class ="logo "> GPU Hot</ div >
611- < a href ="https://github.com/psalias2006/gpu-hot " class ="github-link "> GitHub</ a >
621+ < a href ="https://github.com/psalias2006/gpu-hot " class ="github-link " onclick =" gtag('event', 'click', {'event_category': 'Navigation', 'event_label': 'GitHub Header'}); " > GitHub</ a >
612622 </ div >
613623 </ nav >
614624
617627 < h1 > GPU Hot< br > Metrics in Seconds</ h1 >
618628 < p > Real-time GPU monitoring in your browser. Start with one server, scale to dozens. No infrastructure, no setup, no SSH. Just one command.</ p >
619629 < div style ="display: flex; gap: 1rem; flex-wrap: wrap; ">
620- < a href ="./demo.html " class ="cta " style ="background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: white; border: none; ">
630+ < a href ="./demo.html " class ="cta " style ="background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: white; border: none; " onclick =" gtag('event', 'click', {'event_category': 'CTA', 'event_label': 'Try Interactive Demo'}); " >
621631 Try Interactive Demo
622632 < svg width ="16 " height ="16 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round ">
623633 < path d ="M5 12h14M12 5l7 7-7 7 "/>
624634 </ svg >
625635 </ a >
626- < a href ="https://github.com/psalias2006/gpu-hot " class ="cta ">
636+ < a href ="https://github.com/psalias2006/gpu-hot " class ="cta " onclick =" gtag('event', 'click', {'event_category': 'CTA', 'event_label': 'View on GitHub'}); " >
627637 View on GitHub
628638 < svg width ="16 " height ="16 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round ">
629639 < path d ="M7 17L17 7M17 7v10M17 7H7 "/>
@@ -659,9 +669,9 @@ <h2 class="section-title">Get Started</h2>
659669 < div class ="footer-content ">
660670 < div > Open source. Built for developers.</ div >
661671 < div class ="footer-links ">
662- < a href ="https://github.com/psalias2006/gpu-hot "> GitHub</ a >
663- < a href ="https://github.com/psalias2006/gpu-hot/issues "> Issues</ a >
664- < a href ="https://github.com/psalias2006/gpu-hot/blob/main/LICENSE "> License</ a >
672+ < a href ="https://github.com/psalias2006/gpu-hot " onclick =" gtag('event', 'click', {'event_category': 'Footer', 'event_label': 'GitHub'}); " > GitHub</ a >
673+ < a href ="https://github.com/psalias2006/gpu-hot/issues " onclick =" gtag('event', 'click', {'event_category': 'Footer', 'event_label': 'Issues'}); " > Issues</ a >
674+ < a href ="https://github.com/psalias2006/gpu-hot/blob/main/LICENSE " onclick =" gtag('event', 'click', {'event_category': 'Footer', 'event_label': 'License'}); " > License</ a >
665675 </ div >
666676 </ div >
667677 </ div >
@@ -673,6 +683,10 @@ <h2 class="section-title">Get Started</h2>
673683 navigator . clipboard . writeText ( text ) . then ( ( ) => {
674684 const original = btn . textContent ;
675685 btn . textContent = 'Copied' ;
686+ // Track copy event
687+ if ( typeof gtag !== 'undefined' ) {
688+ gtag ( 'event' , 'copy_docker_command' , { 'event_category' : 'Engagement' , 'event_label' : 'Docker Run Command' } ) ;
689+ }
676690 setTimeout ( ( ) => btn . textContent = original , 2000 ) ;
677691 } ) ;
678692 }
0 commit comments