File tree Expand file tree Collapse file tree 3 files changed +40
-19
lines changed Expand file tree Collapse file tree 3 files changed +40
-19
lines changed Original file line number Diff line number Diff line change @@ -36,24 +36,24 @@ module.exports = {
3636        plugins : [ ] 
3737      } 
3838    } , 
39-     //  {
40-     //    resolve: `gatsby-plugin-favicon`,
41-     //    options: {
42-     //      logo: "./src/favicon.png",
43-     //      injectHTML: true,
44-     //      icons: {
45-     //         android: true ,
46-     //        appleIcon: true,
47-     //        appleStartup: true,
48-     //        coast: false,
49-     //        favicons: true,
50-     //        firefox: true,
51-     //        twitter: false,
52-     //        yandex: false,
53-     //        windows: false
54-     //      }
55-     //    }
56-     //  },
39+     { 
40+       resolve : `gatsby-plugin-favicon` , 
41+       options : { 
42+         logo : "./src/favicon.png" , 
43+         injectHTML : true , 
44+         icons : { 
45+           android : false , 
46+           appleIcon : true , 
47+           appleStartup : true , 
48+           coast : false , 
49+           favicons : true , 
50+           firefox : true , 
51+           twitter : false , 
52+           yandex : false , 
53+           windows : false 
54+         } 
55+       } 
56+     } , 
5757    { 
5858      resolve : `gatsby-plugin-manifest` , 
5959      options : { 
@@ -119,9 +119,21 @@ module.exports = {
119119        dir : "/src/svg" ,  // only process this directory 
120120        // svgr options 
121121        icon : true , 
122-         viewBox : false 
122+         viewBox : true 
123123        // see https://github.com/smooth-code/svgr for a list of all options 
124124      } 
125+     } , 
126+     { 
127+       resolve : `gatsby-plugin-google-analytics` , 
128+       options : { 
129+         trackingId : "UA-89672578-1" , 
130+         // Puts tracking script in the head instead of the body 
131+         head : false , 
132+         // Setting this parameter is optional 
133+         anonymize : true , 
134+         // Setting this parameter is also optional 
135+         respectDNT : true 
136+       } 
125137    } 
126138  ] 
127139} ; 
Original file line number Diff line number Diff line change 99    "gatsby-image" : " ^1.0.42"  ,
1010    "gatsby-link" : " ^1.6.40"  ,
1111    "gatsby-plugin-catch-links" : " ^1.0.19"  ,
12+     "gatsby-plugin-google-analytics" : " ^1.0.25"  ,
1213    "gatsby-plugin-manifest" : " ^1.0.15"  ,
1314    "gatsby-plugin-netlify-cms" : " ^1.0.12"  ,
1415    "gatsby-plugin-offline" : " ^1.0.15"  ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments