forked from spearmintjs/spearmintjs.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
40 lines (39 loc) · 1.13 KB
/
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
37
38
39
40
module.exports = {
siteMetadata: {
title: 'spearmint.js',
author: 'spearmint',
description: 'testing, simplified',
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: `gatsby-plugin-manifest`,
options: {
name: 'spearmint.js',
short_name: 'spearmint',
start_url: '/',
background_color: '#02C2C3',
theme_color: '#02C2C3',
display: 'minimal-ui',
icon: 'src/assets/images/favicon.ico',
},
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-107312161-2',
// Defines where to place the tracking script - `true` in the head and `false` in the body
head: false,
// Setting this parameter is optional
anonymize: true,
// Setting this parameter is also optional
respectDNT: true,
// Avoids sending pageview hits from custom paths
exclude: ['/preview/**', '/do-not-track/me/too/'],
sampleRate: 5,
siteSpeedSampleRate: 10,
cookieDomain: 'spearmintjs.com',
},
},
'gatsby-plugin-sass',
'gatsby-plugin-offline',
],
};