Git Product home page Git Product logo

zynch's Introduction

Zynch

zynch.zogovic.com

Zynch is a web service that provides real time website analytics. Its a demo project done for elance client.

Authentication

Authentication is handled with Devise gem

Tracking

Similar to google analytics, tracker script is loaded asynchronously. Tracker script detects browser features and then creates another request to send those facts to the server. Tracker script (zys.js) is minified using google closure compiler API, and then cached using rails page caching. Cache is destroyed on server restart.

By combining javascript information with request headers, various information is being extracted about the user:

  • page url

  • page title and charset

  • screen resolution and color depth

  • flash player version

  • browser language

  • java presence

  • browser type and version

  • operating system

  • ip address and country

Country detection is done on per-session basis using www.geoplugin.net service.

Statistics

From acquired data, various real-time statistics are available to user:

  • visits and pageviews per month

  • page views per visit

  • visit duration by month

  • visits and pageviews by day

  • top 5 entry pages

  • top 5 exit pages

  • visits by browser

  • visits by operating system

  • visits by screen resolution

  • visits by flash player version

  • visits by countries

  • visits by languages

Google charting API is used for drawing all reports.

Thor tasks

Thor task is created in order to provide some sample data for testing. Basic usage is: thor account:sample_for account_email -c 100 -e production

zynch's People

Contributors

assembler avatar

Watchers

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