diff options
| author | Max | 2017-02-17 23:36:53 +0100 |
|---|---|---|
| committer | Max | 2017-02-17 23:36:53 +0100 |
| commit | 9cb9017bc1719b21a14a046041ae8f7a22452edb (patch) | |
| tree | dd67b2a1b1686a81c2908be7230a6d74a3507303 /intern.gospeladlershof.de/index.php | |
| parent | 77b0511f6cef306410ab4377a6b5bca1d67b874f (diff) | |
| download | gospeladlershof.de-9cb9017bc1719b21a14a046041ae8f7a22452edb.tar.gz | |
Bugfix und Verbesserungen im Analytics-Code.
Diffstat (limited to 'intern.gospeladlershof.de/index.php')
| -rw-r--r-- | intern.gospeladlershof.de/index.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/intern.gospeladlershof.de/index.php b/intern.gospeladlershof.de/index.php index f23d39a..eec1741 100644 --- a/intern.gospeladlershof.de/index.php +++ b/intern.gospeladlershof.de/index.php @@ -61,6 +61,9 @@ if ( isset($_SESSION["error"]) && ! is_null($_SESSION["error"]) ) { <div class="alert alert-success" role="alert"> Die Webseite wurde aktualisiert und veröffentlicht! </div> + <script> + _paq.push(['trackEvent', 'deploy', 'success']); + </script> <?php } else { @@ -68,6 +71,9 @@ if ( isset($_SESSION["error"]) && ! is_null($_SESSION["error"]) ) { <div class="alert alert-danger" role="alert"> Es trat ein Fehler beim Erstellen der Webseite auf. </div> + <script> + _paq.push(['trackEvent', 'deploy', 'failed']); + </script> <?php } } @@ -147,10 +153,10 @@ if ( isset($_SESSION["error"]) && ! is_null($_SESSION["error"]) ) { </tbody> </table> </div> -<a href="/code/export.php" class="btn btn-primary"><span class="glyphicon glyphicon-export"></span> Download als Textdatei</a> +<a href="/code/export.php" class="btn btn-primary piwik_download"><span class="glyphicon glyphicon-export"></span> Download als Textdatei</a> <hr> <p>Mit Klick auf den Button wird die Webseite <a href="//www.gospeladlershof.de/">https://www.gospeladlershof.de</a> aktualisiert.</p> -<a id="deploy" href="/code/deploy.php" class="btn btn-success"><span class="glyphicon glyphicon-refresh"></span> Webseite aktualisieren</a> +<a id="deploy" href="/code/deploy.php" class="btn btn-success" onclick="javascript:_paq.push(['trackEvent', 'deploy', 'initiated']);"><span class="glyphicon glyphicon-refresh"></span> Webseite aktualisieren</a> </div> <!-- /container --> |
