Skip to content

Commit

Permalink
feat: fix gtag
Browse files Browse the repository at this point in the history
Fixes: #12
  • Loading branch information
srl295 committed Jan 1, 2024
1 parent 85793d5 commit 0e10610
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@ import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
head: [
[
'script',
{
async: "true",
src: 'https://www.googletagmanager.com/gtag/js?id=G-QHK7PH5P59',
},
],
[
'script',
{},
"window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-QHK7PH5P59');",
],
],
title: "Code Hive Tx, LLC",
description: "Code Hive Tx, LLC is a small software consultancy located in Dripping Springs, Texas, USA.",
themeConfig: {
Expand Down

0 comments on commit 0e10610

Please sign in to comment.