Skip to content

Commit

Permalink
#155 | Enable coreWebVitals and defer analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshr committed Dec 3, 2024
1 parent 949b68e commit 0fc6a35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ module.exports = {
exclude: ["/do-not-track/example/"],
// Delays sending pageview hits on route update (in milliseconds)
pageTransitionDelay: 0,
defer: true,
enableWebVitalsTracking: true,
// Enables Google Optimize using your container Id
// optimizeId: "YOUR_GOOGLE_OPTIMIZE_TRACKING_ID",
// Enables Google Optimize Experiment ID
Expand Down

0 comments on commit 0fc6a35

Please sign in to comment.