Skip to content

Commit

Permalink
Added Google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
edbourque0 authored and Edouard Bourque committed Apr 22, 2024
1 parent 4141bdd commit 51533e2
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .idea/clashstats.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .idea/dataSources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions clashstats/battlelog/templates/battlelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@
}
}
</style></head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K5DTK980E2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-K5DTK980E2');
</script>
<body>
<nav class="navbar navbar-expand-lg bg-body-tertiary sticky-top">
<div class="container-fluid">
Expand Down
9 changes: 9 additions & 0 deletions clashstats/battlelog/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
{% progressive_web_app_meta %}
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K5DTK980E2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-K5DTK980E2');
</script>
<body>
<nav class="navbar navbar-expand-lg bg-body-tertiary sticky-top">
<div class="container-fluid">
Expand Down
9 changes: 9 additions & 0 deletions clashstats/battlelog/templates/playerstatssearch.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
<title>Clashstats</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K5DTK980E2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-K5DTK980E2');
</script>
<body>
<nav class="navbar navbar-expand-lg bg-body-tertiary sticky-top">
<div class="container-fluid">
Expand Down
9 changes: 9 additions & 0 deletions clashstats/clanranking/templates/clanranking.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K5DTK980E2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-K5DTK980E2');
</script>
<body>
<nav class="navbar navbar-expand-lg bg-body-tertiary sticky-top">
<div class="container-fluid">
Expand Down
9 changes: 9 additions & 0 deletions clashstats/clanranking/templates/clanrankinghome.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
{% progressive_web_app_meta %}
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-K5DTK980E2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-K5DTK980E2');
</script>
<body>
<nav class="navbar navbar-expand-lg bg-body-tertiary sticky-top">
<div class="container-fluid">
Expand Down

0 comments on commit 51533e2

Please sign in to comment.