From 66b3a2c6f703812a2136316817ef2f69bf18675f Mon Sep 17 00:00:00 2001 From: emeraldjava Date: Wed, 30 Oct 2024 19:14:18 +0000 Subject: [PATCH] 2024.10.30: Re-enable google analytics. --- package-lock.json | 12 ++++++++++-- package.json | 3 ++- src/layouts/Layout.astro | 1 - 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index c09c548..45a1520 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "emeraldjava.github.io", - "version": "2024.9.28", + "version": "2024.10.29", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "emeraldjava.github.io", - "version": "2024.9.28", + "version": "2024.10.29", "dependencies": { "@astrojs/check": "^0.9.3", "@astrojs/rss": "^4.0.7", @@ -26,6 +26,7 @@ "@astrojs/tailwind": "^5.1.0", "@tailwindcss/typography": "^0.5.15", "@types/github-slugger": "^1.3.0", + "@types/gtag.js": "^0.0.20", "@types/lodash.kebabcase": "^4.1.9", "@types/react": "^18.3.6", "@typescript-eslint/parser": "^8.5.0", @@ -1870,6 +1871,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/gtag.js": { + "version": "0.0.20", + "resolved": "https://registry.npmjs.org/@types/gtag.js/-/gtag.js-0.0.20.tgz", + "integrity": "sha512-wwAbk3SA2QeU67unN7zPxjEHmPmlXwZXZvQEpbEUQuMCRGgKyE1m6XDuTUA9b6pCGb/GqJmdfMOY5LuDjJSbbg==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/hast": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", diff --git a/package.json b/package.json index 453cb05..692f0c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "emeraldjava.github.io", - "version": "2024.10.29", + "version": "2024.10.30", "scripts": { "dev": "astro dev", "start": "astro dev", @@ -32,6 +32,7 @@ "@astrojs/tailwind": "^5.1.0", "@tailwindcss/typography": "^0.5.15", "@types/github-slugger": "^1.3.0", + "@types/gtag.js": "^0.0.20", "@types/lodash.kebabcase": "^4.1.9", "@types/react": "^18.3.6", "@typescript-eslint/parser": "^8.5.0", diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 2fd8719..c004b67 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -63,7 +63,6 @@ const structuredData = { window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-V66JPM85FQ');