diff options
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 --> |
