diff --git a/_config.yml b/_config.yml index 7ec610c..a0d1e41 100644 --- a/_config.yml +++ b/_config.yml @@ -29,6 +29,7 @@ twitter_username: lostechies github_username: lostechies #permalink: /:collection/:year/:month/:day/:title/ rss2json_api_key: "8rtxarjik93svbgojealqe4pzyta8qjzhcdhy40d" +google_analytics_id: "G-6DK8Y2SBT2" # Only supported by > Jekyll 3.7.0 #collections_dir: posts diff --git a/_includes/footer.html b/_includes/footer.html index 9a69c49..11625ba 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -20,3 +20,14 @@ + +{% if jekyll.environment == "production" and site.google_analytics_id %} + + + +{% endif %}