feat: added setTimeout for ad code

This commit is contained in:
원더 2021-02-12 13:57:58 +09:00
parent 210a01efeb
commit 8c703c0244

View File

@ -22,7 +22,7 @@ class MyDocument extends Document {
<script <script
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{
__html: ` __html: `
(adsbygoogle = window.adsbygoogle || []).push({}) setTimeout(() => (adsbygoogle = window.adsbygoogle || []).push({}), 1000)
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);} function gtag(){dataLayer.push(arguments);}
gtag('js', new Date()); gtag('js', new Date());