-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
36 lines (35 loc) · 1002 Bytes
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
const autoprefixer = require('autoprefixer');
module.exports = {
// siteMetadata: {
// title: `GatsbyJS`,
// description: `A fantastic new static site generator.`,
// siteUrl: `https://www.gatsbyjs.org`
// },
plugins: [
{
resolve: `gatsby-plugin-postcss-sass`,
options: {
postCssPlugins: [autoprefixer()],
precision: 8
}
},
`gatsby-plugin-netlify`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-93891881-1',
// Defines where to place the tracking script - `true` in the head and `false` in the body
head: true,
// Setting this parameter is optional
anonymize: true,
// Setting this parameter is also optional
respectDNT: true,
// Avoids sending pageview hits from custom paths
sampleRate: 5,
siteSpeedSampleRate: 10,
cookieDomain: 'aaroncuddeback.com'
}
}
]
};