https://github.com/kenpusney/gotrack
simple-track in Go
https://github.com/kenpusney/gotrack
Last synced: 3 months ago
JSON representation
simple-track in Go
- Host: GitHub
- URL: https://github.com/kenpusney/gotrack
- Owner: kenpusney
- License: mit
- Created: 2018-03-15T15:25:16.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-20T09:54:01.000Z (almost 8 years ago)
- Last Synced: 2025-08-18T08:42:08.428Z (5 months ago)
- Language: Go
- Homepage:
- Size: 747 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KANA
Kana is a golang implementation of https://github.com/kenpusney/simple-analytics .
### Usage:
Build and run the server (see following section), and just include following script in
your website.
```html
```
Replace the host and `id` param with your self id, and then every request will hit on
on this analytics server.
You can retrieve collected analytics data via report.php by using following 3 params:
```
/report.php?limit=100&skip=0
```
For each of these params:
- `limit`: the amounts you want to retrieve, default: 20.
- `skip`: the offsite you want to skip.
### Up and Running
Simply using following script to get an executable
```
export GOPATH=`pwd`
go get github.com/kenpusney/kana
```
the `kana` executable will be in your `./bin` path.
Move the template file `ka.js.tmpl` and config file `conf.json` to same directory,
then the server will be up and running now.