Add script for google ads

This commit is contained in:
Thomas Zarebczan 2021-11-05 21:01:22 -04:00
parent 238a64bca9
commit cd0ec4dbcd
No known key found for this signature in database
GPG key ID: D505010BDB4364BC

View file

@ -3,12 +3,20 @@
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BB8DNPB73F"></script>
<!-- Google Ads -->
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8719027065089464"
crossorigin="anonymous"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
function gtag() {
dataLayer.push(arguments);
}
gtag('consent', 'default', {
'ad_storage': 'denied',
'analytics_storage': 'denied',
ad_storage: 'denied',
analytics_storage: 'denied',
});
gtag('js', new Date());
gtag('config', 'G-BB8DNPB73F');
@ -26,7 +34,7 @@
<link rel="preload" href="/public/font/v1/700.woff" as="font" type="font/woff" crossorigin />
<link rel="preload" href="/public/font/v1/700i.woff" as="font" type="font/woff" crossorigin />
<link rel="shortcut icon" href="/public/favicon-spaceman.png">
<link rel="shortcut icon" href="/public/favicon-spaceman.png" />
<style>
@font-face {