Skip to content

Commit

Permalink
Merge pull request #58 from yourssu/2024-2-recruit
Browse files Browse the repository at this point in the history
chore: GA 추가
  • Loading branch information
fecapark authored Sep 1, 2024
2 parents b86f5d2 + 67e78b4 commit ae18cc3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
13 changes: 13 additions & 0 deletions gatsby-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,19 @@ const config: GatsbyConfig = {
queries: myCustomQueries,
},
},
{
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: [
process.env.GATSBY_APP_GA_ID, // Google Analytics
],
pluginConfig: {
head: false,
respectDNT: true,
delayOnRouteUpdate: 1000,
},
},
},
],
jsxRuntime: 'automatic',
};
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"framer-motion": "^11.3.31",
"gatsby": "^5.13.1",
"gatsby-image": "^3.11.0",
"gatsby-plugin-google-gtag": "^5.13.1",
"gatsby-plugin-image": "^3.13.0",
"gatsby-plugin-manifest": "^5.13.0",
"gatsby-plugin-react-svg": "^3.3.0",
Expand Down
19 changes: 19 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ae18cc3

Please sign in to comment.