Split any YouTube song into stems
TypeScript
add click analytics
Daniel Ravina24a023928ea8
diff --git a/website/index.html b/website/index.htmlindex 6a1b88b..25c926e 100644--- a/website/index.html+++ b/website/index.html@@ -223,11 +223,11 @@<span>StemKit</span></a><div class="right">- <a class="gh" href="https://github.com/danielravina/stemkit" target="_blank" rel="noopener">+ <a class="gh" href="https://github.com/danielravina/stemkit" target="_blank" rel="noopener" data-ga="github"><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"/></svg>GitHub</a>- <a href="https://github.com/danielravina/stemkit/releases" target="_blank" rel="noopener">Releases</a>+ <a href="https://github.com/danielravina/stemkit/releases" target="_blank" rel="noopener" data-ga="releases">Releases</a></div></nav>@@ -243,11 +243,11 @@<h1>Split songs from YouTube into <span class="grad">stems</span>.</h1><p class="sub">Paste a link, pick your instruments, and play vocals, drums, bass, guitar and piano as synced tracks. Free and open source. Runs entirely on your machine.</p><div class="cta">- <a class="btn-dl" id="dl" href="https://github.com/danielravina/stemkit/releases/latest">+ <a class="btn-dl" id="dl" href="https://github.com/danielravina/stemkit/releases/latest" data-ga="download"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v12m0 0 4-4m-4 4-4-4M5 21h14" stroke-linecap="round" stroke-linejoin="round"/></svg><span id="dl-label">Download</span></a>- <a class="btn-ghost" href="https://github.com/danielravina/stemkit/releases" target="_blank" rel="noopener">All releases</a>+ <a class="btn-ghost" href="https://github.com/danielravina/stemkit/releases" target="_blank" rel="noopener" data-ga="releases">All releases</a></div><p class="dl-cap" id="dl-cap">fetching the latest release…</p></header>@@ -390,11 +390,11 @@<div class="end"><h2>Free and open source. Runs entirely on your machine.</h2><div class="cta">- <a class="btn-dl" id="dl2" href="https://github.com/danielravina/stemkit/releases/latest">+ <a class="btn-dl" id="dl2" href="https://github.com/danielravina/stemkit/releases/latest" data-ga="download"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v12m0 0 4-4m-4 4-4-4M5 21h14" stroke-linecap="round" stroke-linejoin="round"/></svg><span id="dl2-label">Download</span></a>- <a class="btn-ghost" href="https://github.com/danielravina/stemkit" target="_blank" rel="noopener">Star on GitHub</a>+ <a class="btn-ghost" href="https://github.com/danielravina/stemkit" target="_blank" rel="noopener" data-ga="github">Star on GitHub</a></div><p class="caption-note">no account needed · no data sent anywhere</p></div>@@ -402,9 +402,9 @@<footer><span class="note">© 2026 StemKit · MIT license · not affiliated with YouTube or Google</span><div class="links">- <a href="https://github.com/danielravina/stemkit" target="_blank" rel="noopener">GitHub</a>- <a href="https://github.com/danielravina/stemkit/releases" target="_blank" rel="noopener">Releases</a>- <a href="https://github.com/danielravina/stemkit/issues" target="_blank" rel="noopener">Issues</a>+ <a href="https://github.com/danielravina/stemkit" target="_blank" rel="noopener" data-ga="github">GitHub</a>+ <a href="https://github.com/danielravina/stemkit/releases" target="_blank" rel="noopener" data-ga="releases">Releases</a>+ <a href="https://github.com/danielravina/stemkit/issues" target="_blank" rel="noopener" data-ga="github">Issues</a></div></footer></div>@@ -449,6 +449,17 @@})if (window.lucide) lucide.createIcons()++ /* click tracking for GA4 */+ document.addEventListener('click', function (e) {+ var el = e.target && e.target.closest ? e.target.closest('[data-ga]') : null+ if (!el || typeof window.gtag !== 'function') return+ gtag('event', el.getAttribute('data-ga') + '_click', {+ link_url: el.href || '',+ link_text: ((el.textContent || '').trim() || '').slice(0, 80),+ transport_type: 'beacon'+ })+ })})()</script></body>