Add Google Analytics tag to index.html

This commit is contained in:
Ray 2024-02-18 01:05:43 +11:00 committed by GitHub
parent d767678094
commit 79b8553d08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YFGH7MLHJ1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-YFGH7MLHJ1');
</script>
<meta charset="utf-8">
<title>reiyua</title>
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">