rightana
rightana copied to clipboard
Web analytics on your server
RightAna
Carefree web analytics on your server
What is RightAna?
It's a self-hosted web analytics software.
How does it work?
From the user's perspective it is very similar to GA
- register
- add your site
- get a tracking code
- include it to your webpage
- View the reports
Goals
- Easy to install
- Easy to use
- Easy to upgrade (guaranteed after version 1.0)
- One binary distribution
- Space efficient, fast, embedded database
- Visitor friendly (no popups, no cookie consent bar, no nonsense)
- You don't have to sell your visitor's data to a company
- Tracks sessions, not users
- GDPR compliant without any annoying popup
Demo server
https://rightana.com (user: demo pass: demo1234)
Screenshots
Multiple collections
Simple overview
Multiple resolution and interval
Basic informations
Multiple summaries
GeoIP support
You can add filters
You can use the bars for selecting the intervals too
Watch sessions
Adding teammates
Deleting old data is easy
Installation
From binary
- Download the latest version from the Releases section (currently only x64 linux versions)
- Start it and/or add to your service starter
From source
- Get a working Go environment
- Get a working Node.js environment (for building the Angular frontend)
-
git clone https://github.com/soyersoyer/rightana.git $GOPATH/src/github.com/soyersoyer/rightana
-
cd $GOPATH/src/github.com/soyersoyer/rightana
-
./build.sh
- Start it and/or add to your service starter
Configuration
The configuration filename is rightana.yaml (or an another format what the viper library support)
Options
Option | Default | Description |
---|---|---|
Listening | :3000 | Where should the server listen |
GeoIPCityFile | /var/lib/GeoIP/GeoLite2-City.mmdb | GeoIP2/GeoLite2 City file |
GeoIPASNFile | /var/lib/GeoIP/GeoLite2-ASN.mmdb | GeoIP2/GeoLite2 ASN file |
DataDir | data | Where is the base data dir |
EnableRegistration | true | Whether registration enabled or not |
UseBundledWebApp | true | Whether the program should use the bundled webapp or use the frontend/dist folder |
TrackingID | The server's tracking ID, if you want to track it | |
ServerAnnounce | An announce which will show on the home page | |
Backup | The backup configuration in a map[id]dir format | |
AppName | RightAna | The application name in the mails |
AppURL | The application url in the mails | |
EmailExpiryMinutes | 15 | When should the keys in the emails expire |
SMTPHostname | localhost | The SMTP server's hostname |
SMTPPort | 25 | The SMTP server's port |
SMTPUser | The SMTP user | |
SMTPPassword | The SMTP password | |
SMTPSender | The SMTP sender |
Limitations
This software is under initial development (0.x) and the database format may change in the future. In other words, it is not guaranteed that the next version of the software will be able to read the the data stored by the current version.
Coming features to 0.5
- Compressed logs