Skip to content

Commit 7e06bec

Browse files
committed
add ad sense
1 parent bed6186 commit 7e06bec

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/layouts/Layout.astro

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,8 @@ const { title } = Astro.props;
9595

9696
gtag("config", "UA-126730401-1");
9797
</script>
98-
<script
99-
is:inline
100-
data-ad-client="ca-pub-9793838838410328"
101-
async
102-
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"
103-
></script>
98+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9793838838410328"
99+
crossorigin="anonymous"></script>
104100

105101
<script>
106102
(function(c,l,a,r,i,t,y){

0 commit comments

Comments
 (0)