<!doctype html>
<html lang="en" class="dark">
  <head>
    <!-- Web needs an origin referrer for YouTube embeds, while native Capacitor needs
         no-referrer to avoid 403s from some image CDNs on localhost-like origins. -->
    <meta name="referrer" content="strict-origin-when-cross-origin" />
    <!-- Native (Capacitor iOS/Android) detection — set BEFORE any tracking loads.
         Apple guideline 5.1.2(i): no cookies / no tracking inside the native shell. -->
    <script>
      window.__IS_NATIVE__ = (function () {
        try {
          if (window.Capacitor && typeof window.Capacitor.isNativePlatform === 'function' && window.Capacitor.isNativePlatform()) return true;
          if (location.protocol === 'capacitor:' || location.protocol === 'capacitor-electron:') return true;
          var ua = navigator.userAgent || '';
          if (/Gamerlog\/Native/.test(ua)) return true;
        } catch (e) {}
        return false;
      })();

      try {
        var referrerMeta = document.querySelector('meta[name="referrer"]');
        if (referrerMeta) {
          referrerMeta.setAttribute('content', window.__IS_NATIVE__ ? 'no-referrer' : 'strict-origin-when-cross-origin');
        }
      } catch (e) {}
    </script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
    </script>
    <!-- Google tag (gtag.js) — skipped on native iOS/Android -->
    <script>
      if (!window.__IS_NATIVE__) {
        var gs = document.createElement('script');
        gs.async = true;
        gs.src = 'https://www.googletagmanager.com/gtag/js?id=AW-17979629833';
        document.head.appendChild(gs);
        gtag('js', new Date());
        gtag('config', 'AW-17979629833');
      }
    </script>
    <meta charset="UTF-8" />
    <!-- Capture utm_source from URL into localStorage -->
    <script>
      (function() {
        try {
          var params = new URLSearchParams(window.location.search);
          var utmSource = params.get('utm_source');
          if (utmSource) {
            sessionStorage.setItem('utm_source', utmSource);
          }
          // Clean up any stale localStorage utm_source from old code
          localStorage.removeItem('utm_source');
        } catch(e) {}
      })();
    </script>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
    <!-- iOS / Android native shell hints (used by Capacitor) -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <meta name="apple-mobile-web-app-title" content="Gamerlog" />
    <meta name="mobile-web-app-capable" content="yes" />
    <meta name="theme-color" content="#0a0a0b" />
    <meta name="format-detection" content="telephone=no" />
    <!-- Preconnect to font/image CDNs -->
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link rel="preconnect" href="https://images.igdb.com" />
    <!-- Load Inter font non-render-blocking (was CSS @import, saving ~1s on mobile) -->
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" media="print" onload="this.media='all'" />
    <noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" /></noscript>
    <!-- Preload Inter font file (primary typeface) -->
    <link rel="preload" href="https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiJ-Ek-_EeA.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
   <!-- Favicon — Google picks the largest crawlable icon; put the biggest PNG first -->
   <link rel="icon" type="image/png" sizes="512x512" href="/gamerlog-icon-512.png">
   <link rel="icon" type="image/png" sizes="192x192" href="/gamerlog-icon-192.png">
   <link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
   <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
   <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
   <link rel="icon" type="image/x-icon" sizes="any" href="/favicon.ico">
   <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
   <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
    <link rel="manifest" href="/manifest.json">
    
    <!-- Google AdSense Verification — skipped on native iOS/Android (no tracking inside the app) -->
    <meta name="google-adsense-account" content="ca-pub-3119241783342196">
    <script>
      if (!window.__IS_NATIVE__) {
        var as = document.createElement('script');
        as.async = true;
        as.crossOrigin = 'anonymous';
        as.src = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3119241783342196';
        document.head.appendChild(as);
      }
    </script>
    
    <title>Gamerlog – Track Games, Reviews, Stats &amp; Your Gaming Journey</title>
    <meta name="description" content="Gamerlog lets you track games, rate them, review titles, view stats, and connect with friends to share your complete gaming journey for all players">
    <meta name="author" content="Gamerlog">

    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://gamerlog.app/">
    <meta property="og:title" content="Gamerlog – Track Games, Reviews, Stats &amp; Your Gaming Journey">
    <meta property="og:description" content="Gamerlog lets you track games, rate them, review titles, view stats, and connect with friends to share your complete gaming journey for all players">
    <meta property="og:image" content="https://gamerlog.app/gamerlog-og.png">
    <meta property="og:site_name" content="Gamerlog">

    <!-- Twitter -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:url" content="https://gamerlog.app/">
    <meta name="twitter:title" content="Gamerlog – Track Games, Reviews, Stats &amp; Your Gaming Journey">
    <meta name="twitter:description" content="Gamerlog lets you track games, rate them, review titles, view stats, and connect with friends to share your complete gaming journey for all players">
    <meta name="twitter:image" content="https://gamerlog.app/gamerlog-og.png">

    <!-- Structured Data for Google -->
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "WebSite",
      "name": "Gamerlog",
      "alternateName": "Gamerlog – Track Games, Reviews, Stats & Your Gaming Journey",
      "url": "https://gamerlog.app",
      "description": "Gamerlog lets you track games, rate them, review titles, view stats, and connect with friends to share your complete gaming journey for all players."
    }
    </script>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Organization",
      "name": "Gamerlog",
      "url": "https://gamerlog.app",
      "logo": "https://gamerlog.app/gamerlog-logo-icon.jpg",
      "description": "Gamerlog lets you track games, rate them, review titles, view stats, and connect with friends to share your complete gaming journey for all players.",
      "sameAs": [
        "https://x.com/gaborlog",
        "https://discord.gg/gamerlog"
      ]
    }
    </script>
    <!-- Paddle.js - defer to avoid render-blocking -->
    <script defer src="https://cdn.paddle.com/paddle/v2/paddle.js"></script>
  
    <!-- Umami Analytics -->
    <!-- Umami Analytics — skipped on native iOS/Android -->
    <script>
      if (!window.__IS_NATIVE__) {
        var us = document.createElement('script');
        us.defer = true;
        us.src = 'https://cloud.umami.is/script.js';
        us.setAttribute('data-website-id', '1071f21d-0ad8-459f-9326-72dabb292b7d');
        document.head.appendChild(us);
      }
    </script>

  <script type="module" crossorigin src="/assets/index-BRA4_Feo.js"></script>
  <link rel="stylesheet" crossorigin href="/assets/index-CakubpEM.css">
</head>

  <body>
    <div id="root"></div>
    <noscript>
      <div style="max-width:800px;margin:40px auto;padding:0 20px;font-family:system-ui,sans-serif;color:#e0e0e0;background:#121212;">
        <h1>Gamerlog – Track Games, Reviews, Stats &amp; Your Gaming Journey</h1>
        <h2>What is Gamerlog?</h2>
        <p>Gamerlog is a free, community-driven platform built by gamers for gamers. Whether you play on PC, PlayStation, Xbox, or Nintendo Switch, Gamerlog helps you organize your entire gaming life in one place. Track every game you've played, are currently playing, or plan to play. Rate and review titles on a 10-point scale, build curated lists, and discover what your friends are enjoying. Founded by three gamers in Berlin, Gamerlog was created because we believe every gaming experience deserves to be remembered.</p>
        <h2>Why Use Gamerlog?</h2>
        <ul>
          <li><strong>Personal Game Library</strong> – Organize games as Playing, Played, Backlog, Wishlist, or Dropped across all platforms</li>
          <li><strong>Ratings &amp; Reviews</strong> – Rate games on a 10-point scale and write detailed reviews to help the community</li>
          <li><strong>Gaming Statistics</strong> – View detailed stats about your gaming habits, genre preferences, and completion rates</li>
          <li><strong>Curated Lists</strong> – Create ranked or unranked game collections and share them with others</li>
          <li><strong>Social Features</strong> – Follow friends, see their activity feed, and discover games through people you trust</li>
          <li><strong>Discover New Games</strong> – Explore popular, upcoming, and highest-rated games curated by the community</li>
        </ul>
        <h2>Blog &amp; Guides</h2>
        <p>Read our original articles on gaming culture, tips, and industry insights:</p>
        <ul>
          <li><a href="/blog/backlog-shame-guide">How to Manage Your Gaming Backlog Without the Guilt</a></li>
          <li><a href="/blog/perfect-rating-system">How to Rate Video Games Fairly – A Guide to Meaningful Scores</a></li>
          <li><a href="/blog/gaming-in-2025">The State of Gaming in 2025 – Trends and Predictions</a></li>
          <li><a href="/blog/gaming-burnout-recovery">Gaming Burnout Recovery – How to Fall in Love With Games Again</a></li>
          <li><a href="/blog/cozy-games-renaissance">Best Cozy Games to Play in 2025</a></li>
          <li><a href="/blog/game-completion-statistics">Game Completion Statistics – How Many Players Actually Finish Games?</a></li>
          <li><a href="/blog/game-preservation-crisis">The Digital Game Preservation Crisis – Why Games Disappear</a></li>
          <li><a href="/blog/gaming-journal-benefits">Why Every Gamer Needs a Gaming Journal</a></li>
          <li><a href="/blog/multiplayer-vs-single-player">Single-Player vs Multiplayer Games – The Great Debate</a></li>
          <li><a href="/blog/indie-vs-aaa-value">Indie Games vs AAA – Which Offers Better Value in 2025?</a></li>
          <li><a href="/blog/replay-value-myth">The Replay Value Myth – Does It Really Matter?</a></li>
        </ul>
        <p><a href="/about">About Gamerlog</a> | <a href="/faq">FAQ</a> | <a href="/blog">Blog</a> | <a href="/contact">Contact</a> | <a href="/impressum">Legal Notice</a> | <a href="/privacy">Privacy Policy</a> | <a href="/terms">Terms of Service</a></p>
      </div>
    </noscript>
    <script>
      // Stale-deploy recovery: if the hashed entry bundle referenced by a cached
      // index.html no longer exists, the host returns index.html (text/html) and
      // the app never boots. Detect that once and hard-reload with a cache bust.
      (function () {
        var RELOAD_KEY = 'gamerlog_stale_bundle_reload';
        function recover(reason) {
          try {
            if (sessionStorage.getItem(RELOAD_KEY)) return;
            sessionStorage.setItem(RELOAD_KEY, String(Date.now()));
          } catch (e) {}
          console.error('[boot] stale bundle detected (' + reason + '), reloading');
          var url = new URL(window.location.href);
          url.searchParams.set('_r', String(Date.now()));
          window.location.replace(url.toString());
        }
        window.addEventListener(
          'error',
          function (event) {
            var el = event && event.target;
            if (el && el.tagName === 'SCRIPT' && el.src && el.src.indexOf('/assets/') !== -1) {
              recover('script-error');
            }
          },
          true
        );
        window.addEventListener('load', function () {
          setTimeout(function () {
            var root = document.getElementById('root');
            if (!root || root.childElementCount === 0) recover('empty-root');
            else {
              try { sessionStorage.removeItem(RELOAD_KEY); } catch (e) {}
            }
          }, 8000);
        });
      })();
    </script>

  </body>
</html>
