Skip to content

Commit

Permalink
update gtag script content
Browse files Browse the repository at this point in the history
  • Loading branch information
billyc committed Jan 10, 2024
1 parent 8592b3f commit 9cf62c3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ module.exports = {
evergreen: true,
head: [
['script', { src: 'https://cdn.jsdelivr.net/pyodide/v0.22.0/full/pyodide.js' }],
['script', { async: true, src: 'https://www.googletagmanager.com/gtag.js?id=G-2DCTYTB7FB'}],
['script', "window.dataLayer=window.dataLayer|| []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-2DCTYTB7FB');"],
['script', { async: true, src: 'https://www.googletagmanager.com/gtag/js?id=G-2DCTYTB7FB' }],
[
'script',
{},
"window.dataLayer=window.dataLayer|| []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-2DCTYTB7FB');",
],
['link', { rel: 'stylesheet', href: 'https://use.fontawesome.com/releases/v5.2.0/css/all.css' }],
['link', { rel: 'icon', href: '/tiny-logo.png' }],
[
Expand Down

0 comments on commit 9cf62c3

Please sign in to comment.