]> _ Git - cubeextranet.git/commitdiff
#fluidbook-html5 : intégration du code google analytics personnalisé
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 7 Jan 2016 17:50:37 +0000 (17:50 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 7 Jan 2016 17:50:37 +0000 (17:50 +0000)
inc/ws/Util/html5/class.ws.html5.compiler.php

index 1c660f7db56dd059951242c045ab6ecab0657db6..ff8bf2cc17b1da72143d12c710baaf93996c70b8 100644 (file)
@@ -461,6 +461,9 @@ class wsHTML5Compiler {
                if ($this->book->parametres->googleAnalytics != '') {
                        $ga = cubePage::googleAnalytics($this->book->parametres->googleAnalytics);
                }
+               if ($this->book->parametres->googleAnalyticsCustom != '') {
+                       $ga .= $this->book->parametres->googleAnalyticsCustom;
+               }
                // Feuilles de style
                $sheets = array('style/fluidbook.css');
                for ($i = 0; $i < $numCSS; $i++) {