Add adds support

This commit is contained in:
Paulo Gustavo Veiga 2022-01-11 18:18:55 -08:00
parent dcc9bdcdef
commit 9cba042f70

View File

@ -34,17 +34,11 @@
gtag('js', new Date());
gtag('config', );
</script>
</c:if>
<c:if test="${requestScope['google.analytics.enabled']}">
<!-- Google Ads Sense Config-->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: '${requestScope['google.adssense.account']}',
enable_page_level_ads: true,
overlays: { bottom: true }
});
</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4996113942657337" crossorigin="anonymous"></script>
</c:if>
</head>