-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
34 lines (34 loc) · 1.09 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
module.exports = {
siteMetadata: {
title: "Qualtrics API Documentation",
description: "The official Qualtrics API documentation.",
author: "@Qualtrics",
pathPrefix: "/APIDocsWebsite",
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-anchor-links`,
{
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,
},
},
},
],
};