adding correct google tags for analytics

This commit is contained in:
aliabd 2021-12-22 23:18:19 +04:00
parent 023ef9f858
commit 7b33cd6070
4 changed files with 36 additions and 0 deletions

View File

@ -37,6 +37,15 @@
}
</style>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-156449732-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-156449732-1');
</script>
</head>

View File

@ -56,6 +56,15 @@
margin: 0 4px !important;
}
</style>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-156449732-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-156449732-1');
</script>
</head>
<body class="bg-white text-gray-900 text-md sm:text-lg">

View File

@ -23,6 +23,15 @@
<link href="/gradio_static/bundle.css" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="/assets/prism.css">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-156449732-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-156449732-1');
</script>
</head>
<body class="bg-white text-gray-900 text-md sm:text-lg">

View File

@ -26,6 +26,15 @@
<link rel="icon" type="image/png" href="/assets/img/logo.png">
<link rel="stylesheet" href="/style.css">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-156449732-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-156449732-1');
</script>
</head>
<body class="bg-white text-gray-900 text-md sm:text-lg">