Skip to content

Commit

Permalink
default.html - UA SCRIPT final removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl-OW committed Jun 3, 2024
1 parent c7b90a9 commit 5ff06b5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/main/resources/site/pages/default/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,6 @@
</script>
<!-- End Google Tag Manager -->

<!-- UA GA tracking script with added GA4 gtag config -->
<script defer data-th-if="${GA_TRACKING_ID}"
data-th-src="|https://www.googletagmanager.com/gtag/js?id=${GA_TRACKING_ID}|"></script>

<script th:inline="javascript" data-th-if="${GA_TRACKING_ID}">
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', [[${ GA_TRACKING_ID }]], { 'anonymize_ip': true });
</script>

<script data-th-src="${jsLibsUrl}" defer="defer"></script>

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta data-th-if="${page.data.metaDescription}" name="description" data-th-content="${page.data.metaDescription}" />
Expand Down

0 comments on commit 5ff06b5

Please sign in to comment.