Skip to content

Open source analytics program written in go (golang) and javascript.

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE.md
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

roberttstephens/webanalytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#webanalytics

##Overview If you want web analytics, you can use one or more of several third party services. Webanalytics is a simple performant open source application that covers some common use cases.

  • How many page views am I getting? (Sometimes it's difficult to tell with varnish)
  • On which URLs?
  • What percentage of users are still on IE x?
  • Which content do users click on?

##About the project

  • This is not production ready yet, though feel free to try it and report any bugs.
  • Uses go (golang) to process requests.
  • Uses a postgresql database. The database design is purposefully simple in order to be efficient with writes.
  • Inserts into the database in a goroutine so requests are handled concurrently.
  • Uses javascript to submit posts.

##How to use

Webanalytics is broken into two parts. The server side application and the javascript.

###Server side application If you have already set up your $GOPATH and added $GOPATH/bin to your $PATH you should:

  • Create a postgres user and database for webanalytics.
  • run "go get github.com/roberttstephens/webanalytics" without quotation marks.
  • Copy $GOPATH/src/github.com/roberttstephens/webanalytics/config.json to somewhere of your choice.
  • Edit config.json to reflect your new database connection and desired port.
  • Run "webanalytics --config path/to/config.json" without quotation marks.

###Javascript The javascript is in poor shape right now. However, you should be able to copy docs/webanalytics.js to your site, change your domain (and possibly port) and start receiving POSTs. Please reach out to me if something doesn't work, so I can fix it.

How to contribute

Right here on github.com is easiest.

  • Fork the project.
  • Make a commit or two.
  • Perform a pull request.

About

Open source analytics program written in go (golang) and javascript.

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE.md
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages