// gatsby-config.js // remove the object containing 'google analytics' //remove this { resolve: 'gatsby-plugin-google-analytics', options: { "trackingId": "" } }