mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-06 23:56:37 +08:00
docs(docs): add google analytics tracking tag to head config
This commit is contained in:
@@ -29,7 +29,16 @@ export default defineConfig({
|
|||||||
['meta', { name: 'theme-color', content: '#10b981' }],
|
['meta', { name: 'theme-color', content: '#10b981' }],
|
||||||
['meta', { property: 'og:type', content: 'website' }],
|
['meta', { property: 'og:type', content: 'website' }],
|
||||||
['meta', { property: 'og:site_name', content: 'OpenFlare' }],
|
['meta', { property: 'og:site_name', content: 'OpenFlare' }],
|
||||||
['meta', { property: 'og:url', content: 'https://openflare.io/' }]
|
['meta', { property: 'og:url', content: 'https://openflare.io/' }],
|
||||||
|
['script', { async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-TBZPQFMLFH' }],
|
||||||
|
[
|
||||||
|
'script',
|
||||||
|
{},
|
||||||
|
`window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'G-TBZPQFMLFH');`
|
||||||
|
]
|
||||||
],
|
],
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
|
|||||||
Reference in New Issue
Block a user