Giter Club home page Giter Club logo

analytics's Introduction

Carey Development Logo

Analytics Library

license Maven Central

Handles analytics for the Carey Development Blog. It can also be used to handle analytics for other blogs powered by Spring Boot with MongoDB.

Persisting Analytics

The library persists analytics info whenever a visitor hits a page. The code logs the time of the visit, the URL of the page, its title and other important info.

Each visit get persisted as a new (small) document in a collection that holds nothing but analytics info.

It's best to persist the analytics in a collection that's in the same database as the blog itself. However, analytics could be stored in separate databases as well.

Retrieving Analytics

This library also handles retrieval of analytics info for display in admin consoles.

It's up the application that uses this dependency to implement a solution for displaying the data.

Service Layer

Almost all the fun stuff happens in BaseWebPageVisitService. So that's where you should turn your attention if you're interested in using this library.

Latest Release

You can pull it from the central Maven repositories:

 <dependency>
    <groupId>us.careydevelopment.util</groupId>
    <artifactId>analytics</artifactId>
    <version>1.7.0-RELEASE</version>
 </dependency>

License

This code is under the MIT License.

analytics's People

Contributors

careydevelopment avatar

Watchers

 avatar  avatar

Forkers

ruisunon

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.