Coder Social home page Coder Social logo

webanalytics's Introduction

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

webanalytics's People

Contributors

roberttstephens avatar

Watchers

Marco Vito Moscaritolo avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.