diff --git a/Gemfile b/Gemfile
index d2c203fc8de42f0616be7b8fea6f93db74798558..92cd9a70956101b56d8320893d887a046c727ec3 100644
--- a/Gemfile
+++ b/Gemfile
@@ -148,7 +148,7 @@ group :production do # we don't install these on travis to speed up test runs
 
   # Analytics
 
-  gem 'rack-google-analytics', '0.14.0', :require => 'rack/google-analytics'
+  gem 'rack-google-analytics', '1.2.0'
   gem 'rack-piwik',            '0.3.0',  :require => 'rack/piwik'
 
   # Click-jacking protection
diff --git a/Gemfile.lock b/Gemfile.lock
index e2d8fc87649a826e6486526edcf848a6629255d6..d9514208598f0972beb1494174c80a02b45cc766 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -314,7 +314,7 @@ GEM
       slop (~> 3.4)
     rack (1.5.2)
     rack-cors (0.2.9)
-    rack-google-analytics (0.14.0)
+    rack-google-analytics (1.2.0)
       actionpack
       activesupport
     rack-mobile-detect (0.4.0)
@@ -541,7 +541,7 @@ DEPENDENCIES
   omniauth-wordpress (= 0.2.1)
   opengraph_parser (= 0.2.3)
   rack-cors (= 0.2.9)
-  rack-google-analytics (= 0.14.0)
+  rack-google-analytics (= 1.2.0)
   rack-piwik (= 0.3.0)
   rack-protection (= 1.2)
   rack-rewrite (= 1.5.0)