analytics update

This commit is contained in:
Görkem 2025-08-26 10:52:08 -07:00
parent 63f547b432
commit b2e673321b
4 changed files with 15 additions and 1 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

BIN
node_modules/.DS_Store generated vendored Normal file

Binary file not shown.

BIN
public/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -84,7 +84,7 @@
class="icon" style="vertical-align: middle;" src="/images/icons/help_sheet-0.png"></img> class="icon" style="vertical-align: middle;" src="/images/icons/help_sheet-0.png"></img>
<h4>About</h4> <h4>About</h4>
</button></li> </button></li>
<li><button disabled><img class="icon" style="vertical-align: middle; filter: grayscale(100%);" <li><button onclick="location.href='https://gorkem.cc/library';"><img class="icon" style="vertical-align: middle;"
src="/images/icons/internet_connection_wiz-0.png"></img> src="/images/icons/internet_connection_wiz-0.png"></img>
<h4>Library</h4> <h4>Library</h4>
</button></li> </button></li>
@ -185,4 +185,18 @@
</body> </body>
<script data-goatcounter="https://cafe.goatcounter.com/count" <script data-goatcounter="https://cafe.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script> async src="//gc.zgo.at/count.js"></script>
<script>
sendPresence();
function sendPresence() {
fetch('https://presence.gorkyver.com/heartbeat', {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({ page: "cafe" })
});
}
setInterval(sendPresence, 15000);
</script>
</html> </html>