Skip to content

Commit

Permalink
feat: GA and GTM added
Browse files Browse the repository at this point in the history
  • Loading branch information
alinasytnik committed Aug 16, 2023
1 parent 805b1ea commit e7407c6
Show file tree
Hide file tree
Showing 5 changed files with 17,915 additions and 1,515 deletions.
2 changes: 1 addition & 1 deletion fleek.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sites": [
{
"slug": "deafening-important-receptionist",
"slug": "silly-moldy-tiger",
"distDir": "public",
"buildCommand": "yarn run build"
}
Expand Down
17 changes: 16 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,20 @@ module.exports = {
title: `Gatsby + Vercel`,
siteUrl: `https://gatsby-template.vercel.app/`,
},
plugins: [],
plugins: [ {
resolve: "gatsby-plugin-google-tagmanager",
options: {
id: process.env.GTM_ID,
// ... other options ...
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: process.env.GA_ID,
head: true,
anonymize: true,
},
},],
};

Loading

0 comments on commit e7407c6

Please sign in to comment.