gatsby guess
npm install --save gatsby-plugin-guess-js
// Yarn
yarn add gatsby-plugin-guess-js
// In your gatsby-config.js
module.exports = {
plugins: [
{
resolve: "gatsby-plugin-guess-js",
options: {
// Find the view id in the GA admin in a section labeled "views"
GAViewID: `VIEW_ID`,
// Add a JWT to get data from GA
jwt: {
client_email: `GOOGLE_SERVICE_ACCOUNT_EMAIL`,
private_key: `GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY`,
},
minimumThreshold: 0.03,
// The "period" for fetching analytic data.
period: {
startDate: new Date("2018-1-1"),
endDate: new Date(),
},
},
},
],
}
Also in JavaScript:
- data for bar plot json
- midpoint formula javascript
- jquery add multiple classes
- check if string is datestring javascript
- mongodb gte
- react check if string is mail
- js camelcase
- jquery div hide show not working in wordpress
- javascript take first element of array
- what does += mean in JavaScript
- JavaScript create UUID
- javascript urlencode json
- gatsbyjs image sharp
- sequelize sqlite example
- kotlin read input as int
- Unable to resolve "react-navigation-stack" react native
- create array javascript fill
- react on hover reveal
- array==null array.length java script
- bodyparser express
- react native maps api key
- largest and smallest number in an array 1-100 javascript
- javascript destructing
- chart js line and bar