1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

chore(website): add back google analytics

This commit is contained in:
Andrey Nering
2025-08-12 17:58:44 -03:00
parent e7606635fe
commit 504cb94e8b

View File

@@ -77,7 +77,22 @@ export default defineConfig({
['meta', { property: 'og:url', content: ogUrl }], ['meta', { property: 'og:url', content: ogUrl }],
['meta', { property: 'twitter:card', content: 'summary_large_image' }], ['meta', { property: 'twitter:card', content: 'summary_large_image' }],
['meta', { property: 'twitter:title', content: taskName }], ['meta', { property: 'twitter:title', content: taskName }],
['meta', { property: 'twitter:description', content: taskDescription }] ['meta', { property: 'twitter:description', content: taskDescription }],
[
'script',
{
async: '',
src: 'https://www.googletagmanager.com/gtag/js?id=G-4RT25NXQ7N'
}
],
[
'script',
{},
`window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag("js", new Date());
gtag("config", "G-4RT25NXQ7N");`
]
], ],
srcDir: 'src', srcDir: 'src',
cleanUrls: true, cleanUrls: true,