Skip to content

Commit 7c09c47

Browse files
committed
add analytics
1 parent b1b7402 commit 7c09c47

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
"workspaces": [
1111
"www",
1212
"get-data"
13-
]
13+
],
14+
"dependencies": {
15+
"gatsby-plugin-gtag": "^1.0.13"
16+
}
1417
}

www/gatsby-config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ module.exports = {
3636
],
3737
},
3838
},
39+
{
40+
resolve: `gatsby-plugin-gtag`,
41+
options: {
42+
trackingId: `UA-45126617-3`,
43+
},
44+
},
3945
`gatsby-plugin-offline`,
4046
],
4147
};

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5936,6 +5936,11 @@ [email protected]:
59365936
resolved "https://registry.yarnpkg.com/gatsby-plugin-eslint/-/gatsby-plugin-eslint-2.0.8.tgz#1ff7f546a427d274dc2de3932ba29822aae330c3"
59375937
integrity sha512-vAMy37povmQJNg6ZxY78fkWR3pKwG8MNMhO3u+4vXj2MYT5avhFvHPJTAb126ZCuygf30gAWlpwbV50zP894Jw==
59385938

5939+
gatsby-plugin-gtag@^1.0.13:
5940+
version "1.0.13"
5941+
resolved "https://registry.yarnpkg.com/gatsby-plugin-gtag/-/gatsby-plugin-gtag-1.0.13.tgz#ffa08a728ba1cfe33090e52764d014a025a5d35a"
5942+
integrity sha512-Oul6O67klajrEjkkF1diD228SmyUWsAwTq/1tYq41vBwmyNiPk4dhk8K93rrNQ5d5zesSv+awBeGBa503tQqGw==
5943+
59395944
59405945
version "2.4.2"
59415946
resolved "https://registry.yarnpkg.com/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.4.2.tgz#0a9605a778a8e30ce047b9b3701031b9bde61d6b"

0 commit comments

Comments
 (0)