Skip to content

Commit

Permalink
⚡️ Preload gtag
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Nov 20, 2024
1 parent d54434c commit d62798e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ export default defineNuxtConfig({
{ name: 'og:title', content: 'CBOR to JSON Online Converter' },
{ name: 'description', content: 'Easily convert data between CBOR (Concise Binary Object Representation) and JSON (JavaScript Object Notation) formats with this online web decoder.' }
],
link: [
{ rel: 'preload', as: 'script', href: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5384552213891537', crossorigin: 'anonymous' },
{ rel: 'preload', as: 'script', href: 'https://www.googletagmanager.com/gtag/js?id=G-PG6KXFFZPF' },
],
script: [
{ src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5384552213891537', async: true, crossorigin: 'anonymous' },
{ src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5384552213891537', async: true, crossorigin: 'anonymous', body: true },
],
},
},
Expand Down

0 comments on commit d62798e

Please sign in to comment.