From 9668c5357223c0374ed5b6291060b6b43f302b2d Mon Sep 17 00:00:00 2001
From: Faruk Hammoud <farukhammoud@gmail.com>
Date: Fri, 17 Apr 2020 11:06:14 +0200
Subject: [PATCH] analytics

---
 controllerSite/templates/index.html | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/controllerSite/templates/index.html b/controllerSite/templates/index.html
index 166f2ba..c69b386 100644
--- a/controllerSite/templates/index.html
+++ b/controllerSite/templates/index.html
@@ -79,6 +79,15 @@
   }
   
   </script>
+  <!-- Global site tag (gtag.js) - Google Analytics -->
+  <script async src="https://www.googletagmanager.com/gtag/js?id=UA-163892250-1"></script>
+  <script>
+    window.dataLayer = window.dataLayer || [];
+    function gtag(){dataLayer.push(arguments);}
+    gtag('js', new Date());
+
+    gtag('config', 'UA-163892250-1');
+  </script>
 </head>
 
 <body>
@@ -473,8 +482,11 @@
             <p class="font-italic">
               The ControllerApp is available on GooglePlay:
             </p>
-            <div class="badge-box">
-              <a href='http://play.google.com/store/?pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png'/></a>
+            
+            <div class="row" data-aos="fade-left">
+              <div class="col-lg-4 col-md-4 mt-4 mt-lg-4">
+                <a href='https://play.google.com/store/apps/details?id=fr.viarezo.controller'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png'/></a>
+              </div>
             </div>
            </div>
           </div>
-- 
GitLab