-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgatsby-config.js
54 lines (54 loc) · 1.66 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module.exports = {
siteMetadata: {
title: "Qualtrics API Documentation",
description: "The official Qualtrics API documentation.",
author: "@Qualtrics",
pathPrefix: "/PublicAPIDocsHosting",
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-anchor-links`,
{
resolve: "gatsby-plugin-robots-txt",
options: {
host: "https://api-test.qualtrics.com",
policy: [{ userAgent: "*", disallow: ["/"] }],
},
},
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-starter-stoplight`,
short_name: `stoplight`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/favicon.png`, // This path is relative to the root of the site.
},
},
{
resolve: `gatsby-plugin-amplitude-analytics`,
options: {
// Specify the API key for your Amplitude Project (required)
apiKey: "e831b49703fdedc9f40d77ace463433b",
// Prevents loading Amplitude and logging events if visitors have "Do Not Track" enabled (optional)
respectDNT: true,
// Puts tracking script in the head instead of the body (optional)
head: false,
// Override the default event types (optional)
eventTypes: {
outboundLinkClick: "ApiDocs.OUTBOUND_LINK_CLICK",
pageView: "ApiDocs.Navigate",
},
// Amplitude JS SDK configuration options (optional)
amplitudeConfig: {
saveEvents: true,
includeUtm: true,
includeReferrer: true,
},
},
},
],
};