mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add Google Analytics to layouts
This commit is contained in:
parent
30afc37346
commit
036ca92438
2 changed files with 7 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ import '~/assets/css/tailwind.css'
|
|||
import { PageHead } from '~/helpers/config-node.js'
|
||||
|
||||
import VueBaseLayout from '../../layouts/base.vue'
|
||||
import GoogleAnalytics from '~/src/components/google-analytics.astro'
|
||||
|
||||
const {
|
||||
// headTitle,
|
||||
|
|
@ -25,6 +26,9 @@ const pageHead = new PageHead({
|
|||
<head>
|
||||
<title>{ pageHead.title }</title>
|
||||
<Fragment set:html={ pageHead.metaAndLinkMarkup } />
|
||||
|
||||
<GoogleAnalytics />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<VueBaseLayout
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import '~/assets/css/tailwind.css'
|
|||
|
||||
import { PageHead } from '~/helpers/config-node.js'
|
||||
|
||||
import VueBaseLayout from '../../layouts/base.vue'
|
||||
import GoogleAnalytics from '~/src/components/google-analytics.astro'
|
||||
|
||||
const {
|
||||
// headTitle,
|
||||
|
|
@ -25,6 +25,8 @@ const pageHead = new PageHead({
|
|||
<head>
|
||||
<title>{ pageHead.title }</title>
|
||||
<Fragment set:html={ pageHead.metaAndLinkMarkup } />
|
||||
|
||||
<GoogleAnalytics />
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue