Skip to content

Commit

Permalink
fix: 🔧 update GA settings
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade committed Oct 6, 2023
1 parent a4c5a7f commit 662ea1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<meta itemprop="description" content="<%= htmlWebpackPlugin.options.description %>">

<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-58235044-5" crossorigin="anonymous"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HMLGN79DPX" crossorigin="anonymous"></script>
<script>
window.dataLayer = window.dataLayer || [];

if (window.location.host === 'paa.gruppe-adler.de') {
function gtag(){ dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-58235044-5');
gtag('config', 'G-HMLGN79DPX');
} else {
function gtag(){ }
}
Expand Down

0 comments on commit 662ea1b

Please sign in to comment.