From ec859164f6766297f30942ff97df13473256f0e1 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Mon, 24 Oct 2022 14:23:26 +0800 Subject: [PATCH] add google tracking js --- gatsby-config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gatsby-config.js b/gatsby-config.js index dfd2d22..f038278 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -11,6 +11,12 @@ module.exports = { path: `${__dirname}/src`, }, }, + { + resolve: 'gatsby-plugin-google-analytics', + options: { + trackingId: "G-TVTHN7455T", + }, + }, "gatsby-plugin-image", "gatsby-plugin-sharp", "gatsby-transformer-sharp",