google analytics
This commit is contained in:
@@ -16,6 +16,31 @@ export default defineConfig({
|
|||||||
[ 'link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],
|
[ 'link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],
|
||||||
[ 'link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }],
|
[ 'link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }],
|
||||||
[ 'link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Victor+Mono:ital,wght@0,100..700;1,100..700&display=swap' }],
|
[ 'link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Victor+Mono:ital,wght@0,100..700;1,100..700&display=swap' }],
|
||||||
|
|
||||||
|
/*
|
||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-L6F3Z6SBC7"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-L6F3Z6SBC7');
|
||||||
|
</script>
|
||||||
|
*/
|
||||||
|
[
|
||||||
|
'script',
|
||||||
|
{ async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-L6F3Z6SBC7' }
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'script',
|
||||||
|
{},
|
||||||
|
`window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'G-L6F3Z6SBC7');`
|
||||||
|
]
|
||||||
|
|
||||||
],
|
],
|
||||||
transformHead({assets}) {
|
transformHead({assets}) {
|
||||||
// put the path of local assets into the <head>
|
// put the path of local assets into the <head>
|
||||||
|
|||||||
Reference in New Issue
Block a user