diff --git a/.gitignore b/.gitignore index 2313378..8d104df 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,8 @@ node_modules/ # Counter data api/counter.txt +api/visitors.txt +api/pageviews.txt kostenschaetzung/ schadendokumentation/ zeitwert/ diff --git a/api/counter.php b/api/counter.php index 8e498e7..66c57a6 100644 --- a/api/counter.php +++ b/api/counter.php @@ -1,33 +1,37 @@ $count, - 'formatted' => number_format($count, 0, ',', '.') + 'visitors' => $visitors, + 'visitors_formatted' => number_format($visitors, 0, ',', '.'), + 'pageviews' => $pageviews, + 'pageviews_formatted' => number_format($pageviews, 0, ',', '.') ]); diff --git a/index.html b/index.html index bf01b15..c4c4da1 100644 --- a/index.html +++ b/index.html @@ -280,7 +280,7 @@