fix: google analytics after head elem

This commit is contained in:
saparatayev 2022-09-02 11:07:17 +05:00
parent 69dd347e0f
commit dd1d967b1b
1 changed files with 10 additions and 10 deletions

View File

@ -42,6 +42,16 @@ function onStart(){
<!DOCTYPE html>
<html lang="{{activeLocale}}">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WSZZSLSR0W"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-WSZZSLSR0W');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -138,15 +148,5 @@ function onStart(){
new WOW().init();
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WSZZSLSR0W"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-WSZZSLSR0W');
</script>
</body>
</html>