webanalytics

command module
v0.0.0-...-029f5ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2013 License: GPL-3.0, GPL-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

#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.

##Use cases

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

##About the project

  • Uses go (golang) to process requests, via a RESTful API.
  • Uses a postgresql database. The database design is purposefully simple in order to be efficient with writes.
  • 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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址