6 Commits
6 changed files with 22 additions and 28 deletions
+8 -11
View File
@@ -449,19 +449,16 @@ class GUIHandler {
public static function generateGoogleAnalyticsScripts(){ public static function generateGoogleAnalyticsScripts(){
?> ?>
<script> <!-- Google tag (gtag.js) -->
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ <script async src="https://www.googletagmanager.com/gtag/js?id=G-5YTMS8G32Q"></script>
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), <script>
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) window.dataLayer = window.dataLayer || [];
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
// ga('create', 'UA-75287906-1', 'auto'); gtag('config', 'G-5YTMS8G32Q');
// ga('send', 'pageview'); </script>
ga('create', 'UA-6137905-1', 'auto');
ga('send', 'pageview');
</script>
<?php <?php
} }
+8 -11
View File
@@ -467,19 +467,16 @@ class GUIHandlerMobile {
public static function generateGoogleAnalyticsScripts(){ public static function generateGoogleAnalyticsScripts(){
?> ?>
<script> <!-- Google tag (gtag.js) -->
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ <script async src="https://www.googletagmanager.com/gtag/js?id=G-5YTMS8G32Q"></script>
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), <script>
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) window.dataLayer = window.dataLayer || [];
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
ga('create', 'UA-75287906-1', 'auto'); gtag('config', 'G-5YTMS8G32Q');
ga('send', 'pageview'); </script>
ga('create', 'UA-6137905-1', 'auto');
ga('send', 'pageview');
</script>
<?php <?php
} }
+1 -1
View File
@@ -2,6 +2,6 @@ DDNINJA_ENVIRONMENT_NAME=production
DDNINJA_IS_PRODUCTION=true DDNINJA_IS_PRODUCTION=true
DDNINJA_MONGO_DBNAME=fdn2 DDNINJA_MONGO_DBNAME=fdn2
DDNINJA_MONGO_LOCATION=database DDNINJA_MONGO_LOCATION=mongo
DDNINJA_PUBLIC_URL=http://www.ifattidinapoli.it DDNINJA_PUBLIC_URL=http://www.ifattidinapoli.it
+1 -1
View File
@@ -2,6 +2,6 @@ DDNINJA_ENVIRONMENT_NAME=production
DDNINJA_IS_PRODUCTION=true DDNINJA_IS_PRODUCTION=true
DDNINJA_MONGO_DBNAME=fdn2 DDNINJA_MONGO_DBNAME=fdn2
DDNINJA_MONGO_LOCATION=database DDNINJA_MONGO_LOCATION=mongo
DDNINJA_PUBLIC_URL=http://www.ifattidinapoli.it DDNINJA_PUBLIC_URL=http://www.ifattidinapoli.it
+1 -1
View File
@@ -2,6 +2,6 @@ DDNINJA_ENVIRONMENT_NAME=test
DDNINJA_IS_PRODUCTION=false DDNINJA_IS_PRODUCTION=false
DDNINJA_MONGO_DBNAME=fdn2_test DDNINJA_MONGO_DBNAME=fdn2_test
DDNINJA_MONGO_LOCATION=database DDNINJA_MONGO_LOCATION=mongo
DDNINJA_PUBLIC_URL=http://test.ifattidinapoli.it DDNINJA_PUBLIC_URL=http://test.ifattidinapoli.it
+1 -1
View File
@@ -2,6 +2,6 @@ DDNINJA_ENVIRONMENT_NAME=test
DDNINJA_IS_PRODUCTION=false DDNINJA_IS_PRODUCTION=false
DDNINJA_MONGO_DBNAME=fdn2_test DDNINJA_MONGO_DBNAME=fdn2_test
DDNINJA_MONGO_LOCATION=database DDNINJA_MONGO_LOCATION=mongo
DDNINJA_PUBLIC_URL=http://test.ifattidinapoli.it DDNINJA_PUBLIC_URL=http://test.ifattidinapoli.it