Skip to content

Commit c9f2290

Browse files
committed
Merge branch 'release/2.0.1'
2 parents b0205c2 + 2fea23c commit c9f2290

File tree

9 files changed

+73
-51
lines changed

9 files changed

+73
-51
lines changed

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ env:
33
- YARN_GPG=no
44
node_js:
55
- 'node'
6-
- '10'
6+
- '14'
77
os:
88
- windows
99
- linux

Diff for: CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [2.0.1] - 2020-08-16
8+
9+
This updates improves the look of the README and adds some missing pieces of documentation.
10+
11+
### Added
12+
13+
- [Privacy Policy example](docs/Privacy%20Policy.md) (#122)
14+
715
## [2.0.0] - 2020-08-15
816

917
The first major back-end and front-end rewrite of Ackee with new API, dashboard, active visitors counter and more. Updating is as easy as ever. Simple grab the newest version, ensure that you're using Node.js v14 or higher and start Ackee. That's it!

Diff for: README.md

+8-34
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ Self-hosted, Node.js based analytics tool for those who care about privacy. Acke
1616

1717
</div>
1818

19-
## Contents
19+
## 👋 Introduction
20+
21+
Ackee is a self-hosted analytics tool that cares about privacy. We believe that you don't need to track every aspect of your visitors. Ackee keeps tracked data anonymized to avoid that users are identifiable, while still providing helpful insights. It's is the right tool for everyone who doesn't need a full-featured marketing analytics platform like Google Analytics or Matomo.
2022

21-
- [Get started](#get-started)
22-
- [Introduction](#introduction)
23-
- [Documentation](#documentation)
24-
- [Miscellaneous](#more)
23+
- **Self-hosted**: Ackee runs on your own server and is 100% open-source
24+
- **Modern technologies**: Lightweight Node.js and MongoDB architecture
25+
- **Beautiful**: Minimal and focused interface
26+
- **No cookies**: No unique user tracking and therefore no required cookie message
27+
- **GraphQL API**: Fully documented GraphQL API that allows you to build new tools upon Ackee
2528

2629
## 🚀 Get started
2730

@@ -42,35 +45,6 @@ And configure Ackee and your server correctly…
4245

4346
Take a look at the [FAQ](docs/FAQ.md) if you have any questions left.
4447

45-
## 👋 Introduction
46-
47-
### What is Ackee?
48-
49-
Ackee is a web app you install on your server to analyse the traffic of your sites.
50-
51-
### Why Ackee?
52-
53-
Ackee is lightweight, easy to install and has a good balance between analytics and privacy. It features a GraphQL API and web interface and tracks only what's necessary.
54-
55-
It's is the right tool for you if you care about privacy and don't need a full-features marketing analytics platform like Google Analytics or Matomo.
56-
57-
### Benefits of Ackee?
58-
59-
- Self-hosted
60-
- Lightweight and easy to install
61-
- Modern and fast architecture
62-
- Beautiful and focused interface
63-
- No unique user tracking and no cookies
64-
- Fully documented GraphQL API
65-
66-
### How does it work?
67-
68-
You run the Ackee server which then waits for requests through its API.
69-
70-
The API of Ackee accepts information about your visitors sent to it using [ackee-tracker](https://github.com/electerious/ackee-tracker). It's a small script you add to your sites, similar to the JavaScript tracking snippet provided by Google Analytics.
71-
72-
The interface of Ackee lets you view and analyse your tracked information.
73-
7448
## 📚 Documentation
7549

7650
Documentation and guides are located in [the /docs folder](docs/). Also take a look at the [FAQ](docs/FAQ.md) if you have any questions left.

Diff for: docs/API.md

+12
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,18 @@ Protected queries and mutations need to include the `Authorization` HTTP header.
5454
}
5555
```
5656

57+
## Time Zone
58+
59+
It's sometimes necessary to know the time zone of the user to accurately group stats by day, month or year. We therefore recommend to include a `Time-Zone` header when requesting data. The time zone should be formatted as a [tz database time zone string](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
60+
61+
The time zone of the server will be used as a fallback.
62+
63+
```json
64+
{
65+
"Time-Zone": "Europe/Berlin"
66+
}
67+
```
68+
5769
## Queries
5870

5971
Queries are used to receive data. Here are a few examples:

Diff for: docs/FAQ.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
# FAQ
22

3+
- [Basics](#basics)
34
- [Features](#features)
45
- [Configuration](#configuration)
56
- [Comparison](#comparison)
67
- [Definitions](#definitions)
78

9+
## Basics
10+
11+
### How does it work?
12+
13+
You run the Ackee server which then waits for requests through its API.
14+
15+
The API of Ackee accepts information about your visitors sent to it using [ackee-tracker](https://github.com/electerious/ackee-tracker). It's a small script you add to your sites, similar to the JavaScript tracking snippet provided by Google Analytics.
16+
17+
The interface of Ackee lets you view and analyse your tracked information.
18+
819
## Features
920

1021
### Can I import my nginx logs?

Diff for: docs/Privacy Policy.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Privacy Policy
2+
3+
Ackee is a privacy first product that keeps tracked data anonymized. It's therefore not required to mention Ackee in your privacy policy. Ackee doesn't store IP addresses or other personal identifiable information by default. It doesn't even use cookies, therefore, it doesn't need to be added to your cookie banner either.
4+
5+
Although, we recommend to mention Ackee in your privacy policy. Let your visitors know that you're using a privacy friendly analytics tool which doesn't collect personal identifiable information.
6+
7+
> ⚠️ Make sure to ask your users before activating the `detailed` mode of Ackee. The detailed mode tracks more data and also includes data [we're considering as personal data](Anonymization.md#personal-data). In this case it's highly recommended to add Ackee to your privacy policy.
8+
9+
## HTML privacy policy example
10+
11+
```html
12+
To get information about the behavior of our visitors, we use
13+
<a href="https://ackee.electerious.com" target="_blank">Ackee</a>. This
14+
analytics software gives us insight about our visitors only in general, but not
15+
about individuals per say, as it does not track visitors and does not store any
16+
personal identifiable information.
17+
<a href="https://docs.ackee.electerious.com/#/docs/Anonymization" target="_blank">Go
18+
to their documentation</a> to find out what Ackee collects.
19+
```
20+
21+
## Markdown privacy policy example
22+
23+
```md
24+
To get information about the behavior of our visitors, we use
25+
[Ackee](https://ackee.electerious.com). This
26+
analytics software gives us insight about our visitors only in general, but not
27+
about individuals per say, as it does not track visitors and does not store any
28+
personal identifiable information.
29+
[Go
30+
to their documentation](https://docs.ackee.electerious.com/#/docs/Anonymization) to find out what Ackee collects.
31+
```

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ackee",
33
"private": true,
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"authors": [
66
"Tobias Reich <[email protected]>"
77
],
@@ -108,6 +108,6 @@
108108
]
109109
},
110110
"engines": {
111-
"node": ">= 10"
111+
"node": ">= 14"
112112
}
113113
}

Diff for: src/aggregations/aggregateDurations.js

-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ module.exports = (ids, interval, limit, dateDetails) => {
2020
$avg: '$duration'
2121
}
2222
}
23-
},
24-
{
25-
$sort: {
26-
'_id.year': -1,
27-
'_id.month': -1,
28-
'_id.day': -1
29-
}
3023
}
3124
]
3225

Diff for: src/aggregations/aggregateViews.js

-7
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ module.exports = (ids, unique, interval, limit, dateDetails) => {
1414
$sum: 1
1515
}
1616
}
17-
},
18-
{
19-
$sort: {
20-
'_id.year': -1,
21-
'_id.month': -1,
22-
'_id.day': -1
23-
}
2417
}
2518
]
2619

0 commit comments

Comments
 (0)