Skip to content

Commit 594b4d6

Browse files
committed
Add google ads
1 parent fb7979d commit 594b4d6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/server/views/index.pug

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,12 @@ html
102102
- else
103103
script(src=jsUrl, type='module')
104104
script(async=true, src='https://www.googletagmanager.com/gtag/js?id=G-NT5W8GL31W')
105+
105106
script.
106107
window.dataLayer = window.dataLayer || [];
107108
function gtag(){dataLayer.push(arguments);}
108109
gtag('js', new Date());
109110

110111
gtag('config', 'G-NT5W8GL31W');
111112

113+
script(async=true, src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3871790631789822' crossorigin='anonymous')

0 commit comments

Comments
 (0)