Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cccf79d

Browse files
committed
Add Guess.js
1 parent 44bc3ea commit cccf79d

File tree

3 files changed

+378
-0
lines changed

3 files changed

+378
-0
lines changed

‎gatsby-config.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,24 @@ module.exports = {
113113
],
114114
},
115115
},
116+
{
117+
resolve: `gatsby-plugin-google-analytics`,
118+
options: {
119+
trackingId: 'UA-128381568-1',
120+
},
121+
},
122+
{
123+
resolve: 'gatsby-plugin-guess-js',
124+
options: {
125+
// Find the view id in the GA admin in a section labeled "views"
126+
GAViewID: `184199008`,
127+
minimumThreshold: 0.03,
128+
// The "period" for fetching analytic data.
129+
period: {
130+
startDate: new Date(new Date().getTime() - 604800000),
131+
endDate: new Date(),
132+
},
133+
},
134+
},
116135
],
117136
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /