diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ad0e2b..2c29a46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +### 0.2.0 + +add support for changing colors and and more API responses + ### 0.1.0 -first version \ No newline at end of file +first version diff --git a/README.md b/README.md index 84e8ad1..5f396f0 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,16 @@ No website is complete without a nostalgic view counter at the bottom! This plugin allows you to add an image showing the total amount of visits per `idSite`. +**Important: Installing this plugin makes the output of the `VisitsSummary.get` API endpoint visible for everyone!** + ```html ``` +### Optional parameters: - \ No newline at end of file +- `&mode=` one of `["nb_visits", "nb_actions", "nb_visits_converted", "bounce_count", "sum_visit_length", "max_actions", "bounce_rate", "nb_actions_per_visit", "avg_time_on_site"]` (responses from the `VisitsSummary.get` API) +- `backgroundColor`: A hex color without the `#` (e.g. `f00` or `fe1234`) +- `foregroundColor` +- `lightColor` + +