Add script for google ads
This commit is contained in:
parent
238a64bca9
commit
cd0ec4dbcd
1 changed files with 12 additions and 4 deletions
|
@ -3,12 +3,20 @@
|
||||||
<head>
|
<head>
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BB8DNPB73F"></script>
|
<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>
|
<script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag() {
|
||||||
|
dataLayer.push(arguments);
|
||||||
|
}
|
||||||
gtag('consent', 'default', {
|
gtag('consent', 'default', {
|
||||||
'ad_storage': 'denied',
|
ad_storage: 'denied',
|
||||||
'analytics_storage': 'denied',
|
analytics_storage: 'denied',
|
||||||
});
|
});
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
gtag('config', 'G-BB8DNPB73F');
|
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/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="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>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
|
|
Loading…
Add table
Reference in a new issue