Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
Improve wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
beranek1 authored Jun 16, 2020
1 parent 769ca4a commit 77f4825
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Free open-source web analytics with easy integration into existing PHP scripts.
## Usage
* Place webanalytics.php and websettings.php in the same directory as your own php scripts, and modify the database parameters in websettings.php.
#### OR
* Place only webanalytics.php in the same directory as your own php scripts and modify the database parameters in webanalytics.php.
* Place only webanalytics.php in the same directory as your own php scripts and modify the database parameters in webanalytics.php as well as webstatistics.php.

websettings.php / webanalytics.php
websettings.php / webanalytics.php / webstatistics.php
```php
$web_analytics_db = new web_db_manager("mysql:dbname=database;host=127.0.0.1", "user", "password");
```
Expand All @@ -15,7 +15,7 @@ Afterwards all you need to do is including webanalytics.php in your own php scri
include "webanalytics.php";
```

After running webanalytics.php once you will see a simple report when opening webstatistics.php.
Run your script / webanalytics.php once to initialize the database tables, now webstatistics.php will show you an current analysis of your web traffic and visitors.

### Interested in using WebAnalytics as a library or in a modified way? You can disable auto run in the settings:
```php
Expand Down

0 comments on commit 77f4825

Please sign in to comment.