diff --git a/_config.yml b/_config.yml index 13ce982..513fbfa 100644 --- a/_config.yml +++ b/_config.yml @@ -2,7 +2,7 @@ name: rymai.me description: "Web development stuff in english, philosophy/lifestyle thoughts in french!" meta_description: "Web development stuff in english, philosophy/lifestyle thoughts in french!" -root_url: http://www.rymai.me +root_url: https://www.rymai.me permalink: /:year/:month/:day/:title/ google_analytics_id: UA-34888761-1 diff --git a/_includes/analytics.html b/_includes/analytics.html index 83b5e43..0e34ed7 100644 --- a/_includes/analytics.html +++ b/_includes/analytics.html @@ -1,12 +1,11 @@ {% if site.google_analytics_id %} - - + ga('create', '{{ site.google_analytics_id }}', 'auto'); + ga('send', 'pageview'); + {% endif %}