Skip to content

Commit

Permalink
feat: 광고 솔루션을 Google Adsense로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
lavi27 committed Jan 20, 2024
1 parent 259e19c commit 696a0fc
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,33 @@ export default defineNuxtConfig({
// MS Clarity
textContent: `(function(c,l,a,r,i,t,y){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);})(window, document, "clarity", "script", "kdxoqws6v8");`,
},
{
// Google Adsense
async: true,
src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7700677534024923',
},
{
async: true,
src: 'https://fundingchoicesmessages.google.com/i/pub-7700677534024923?ers=1',
nonce: 'QHzY_FUE44g8R4HbPxq60A',
},
{
nonce: 'QHzY_FUE44g8R4HbPxq60A',
textContent: `
;(function () {
function signalGooglefcPresent() {
if (!window.frames['googlefcPresent']) {
if (document.body) {
const iframe = document.createElement('iframe')
iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;'
iframe.style.display = 'none'
iframe.name = 'googlefcPresent'
document.body.appendChild(iframe)
} else {
setTimeout(signalGooglefcPresent, 0)
}
}}signalGooglefcPresent()})()`,
},
],
noscript: [
{
Expand Down

0 comments on commit 696a0fc

Please sign in to comment.