Fix #51, #54, #55: PDF verified, performance, analytics

**#51** — Speaker Profile PDF exists and is linked ✓
- PDF at /downloads/Scott-Scoble-Human-Cultivation-Expert-Speaker-Profile.pdf
- Added download tracking

**#54** — Performance optimizations:
- Preload hints for hero images (responsive)
- Font preconnect optimized
- Moved font loading before other resources

**#55** — Umami event tracking added:
- hero-cta-book, hero-cta-explore (homepage)
- speaking-cta-book, speaking-download-pdf
- consulting-cta-schedule
This commit is contained in:
engineering Agent 2026-05-05 13:37:35 -07:00
parent 9f9563eb30
commit 4e87649925
4 changed files with 14 additions and 7 deletions

View file

@ -55,10 +55,17 @@ const currentPath = canonicalUrl || Astro.url.pathname;
<!-- RSS -->
<link rel="alternate" type="application/rss+xml" title="Scott Scoble Blog" href="/rss.xml" />
<!-- Google Fonts -->
<!-- Preconnect for performance -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap" rel="stylesheet" />
<!-- Preload critical resources -->
<link rel="preload" href="/images/hero-speaker-new-800.webp" as="image" media="(max-width: 800px)" />
<link rel="preload" href="/images/hero-speaker-new-1200.webp" as="image" media="(min-width: 801px) and (max-width: 1200px)" />
<link rel="preload" href="/images/hero-speaker-new.webp" as="image" media="(min-width: 1201px)" />
<!-- Google Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap" />
</head>
<body>
<a href="#main-content" class="skip-link">Skip to main content</a>

View file

@ -100,7 +100,7 @@ import PackageCard from '../components/PackageCard.astro';
<div class="section-container">
<h2>Ready to cultivate your team?</h2>
<p>Schedule a discovery call. We'll talk about your situation and figure out the right engagement.</p>
<a href="/contact" class="cta-button">Schedule Discovery Call</a>
<a href="/contact" class="cta-button" data-umami-event="consulting-cta-schedule">Schedule Discovery Call</a>
</div>
</section>

View file

@ -29,8 +29,8 @@ import PillarCard from '../components/PillarCard.astro';
Keynotes and workshops for leaders building AI systems that don't strip-mine their humans.
</p>
<div class="hero-actions">
<a href="/speaking#book" class="btn btn-primary">Book Scott for Your Event</a>
<a href="/speaking" class="btn btn-outline">Watch the Reel</a>
<a href="/speaking#book" class="btn btn-primary" data-umami-event="hero-cta-book">Book Scott for Your Event</a>
<a href="/speaking" class="btn btn-outline" data-umami-event="hero-cta-explore">Watch the Reel</a>
</div>
</div>
</section>

View file

@ -16,7 +16,7 @@ import SharedForm from '../components/Form/SharedForm.astro';
<p class="hero-kicker">Keynote Speaker</p>
<h1>Helping leaders build AI systems that cultivate humans instead of strip-mining them.</h1>
<a href="#book" class="hero-cta">Book Scott for Your Event</a>
<a href="#book" class="hero-cta" data-umami-event="speaking-cta-book">Book Scott for Your Event</a>
</div>
</section>
@ -125,7 +125,7 @@ import SharedForm from '../components/Form/SharedForm.astro';
<li><strong>Audience:</strong> Engineering leaders, CTOs, people managers</li>
</ul>
<a href="/downloads/Scott-Scoble-Human-Cultivation-Expert-Speaker-Profile.pdf" class="download-btn" download>📄 Download Speaker Profile (PDF)</a>
<a href="/downloads/Scott-Scoble-Human-Cultivation-Expert-Speaker-Profile.pdf" class="download-btn" download data-umami-event="speaking-download-pdf">📄 Download Speaker Profile (PDF)</a>
<p class="contact-alt">Or email: <a href="mailto:scott@scoble.me">scott@scoble.me</a></p>
</div>