• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    PHP
  • Created almost 8 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TinyAnalytics is a lightweight analytics tool (unique visitors count, etc.)

TinyAnalytics

TinyAnalytics is a lightweight web analytics tool based on the idea that:

  • The two most useful things are: number of unique visitors per day (with a nice chart) and list of referers who send some traffic to your websites,

  • It should give the idea of the traffic, even for multiple websites, on a single dashboard (without having to click in lots of menu items to change the currently displayed website, etc.),

  • It should be fast and lightweight.

If you're looking for more informations than those (such as country, browser, screen resolution, time spent on a page, etc.), then TinyAnalytics is not the right tool for you. Please try Google Analytics, Open Web Analytics or Piwik instead. I personally found the two last ones not very handy for me.

After years, I've noticed that I prefer to have few (important) informations that I can consult each day in 30 seconds, rather than lots of informations for which I would need 15 or 30 minutes per day for an in-depth analysis.

Install

There are three easy steps:

  1. Unzip this package in a directory, e.g. /var/www/TinyAnalytics/.

  2. Add the following tracking code to your websites at then end of .php files, e.g. /var/www/mywebsite/index.php:

    <?php 
    include '/var/www/TinyAnalytics/tracker.php';
    record_visit('mywebsite');
    ?>
    
  3. Modify your password in the first lines of index.php. Default password is abcdef.

It's done! Visit at least one of your tracked websites, and open TinyAnalytics/index.php in your browser!

About

Author: Joseph Ernest (@JosephErnest)

Other projects: BigPicture, bigpicture.js, AReallyBigPage, SamplerBox, Void, TalkTalkTalk, YellowNoiseAudio, bloggggg, etc.

Thanks to WhiteHat for his help on the chart visualization design.

Sponsors and consulting

I am available for Python, Data science, ML, Automation consulting. Please contact me on https://afewthingz.com for freelancing requests.

Do you want to support the development of my open-source projects? Please contact me!

I am currently sponsored by CodeSigningStore.com. Thank you to them for providing a DigiCert Code Signing Certificate and supporting open source software.

Other versions

Here is PHP-only version contributed by @benyafai.

License

MIT license

More Repositories

1

writing

Writing is a lightweight distraction-free text editor, in the browser (Markdown and LaTeX supported).
JavaScript
1,031
star
2

bigpicture.js

bigpicture.js is a Javascript library that allows infinite panning and infinite zooming in HTML pages.
JavaScript
809
star
3

SamplerBox

SamplerBox is a sampler musical instrument based on RaspberryPi.
Python
416
star
4

Yopp

A very fast way to transfer a file from phone to computer and vice versa.
PHP
400
star
5

nfreezer

nFreezer is an encrypted-at-rest backup tool.
Python
301
star
6

talktalktalk

TalkTalkTalk is an easy-installable small chat room, with chat history.
HTML
251
star
7

Swap

Swap.js is a "HTML-over-the-wire" AJAX-navigation micro-library
PHP
232
star
8

void

Void is a blogging platform.
PHP
193
star
9

AReallyBigPage

Collaborative whiteboard based on bigpicture.js
HTML
42
star
10

EasyVolcaSample

Easy upload .wav files to Korg Volca Sample!
C
25
star
11

impulseresponse.py

Get a reverb impulse response (IR) from a frequency sweep
Python
21
star
12

bloggggg

bloggggg is a blogging platform.
PHP
13
star
13

sdfgh

"sdfgh", an encrypted notepad in ~65 lines of Python. Read the code, trust it (or not), and use it (or not)!
Python
11
star
14

RaspFIP

Ecouter la radio FIP avec un Raspberry Pi (sans Γ©cran ni clavier). Une seule action Γ  faire : Power On !
9
star
15

0Doc

Documentation made simple.
JavaScript
6
star
16

rebootnow

Reboot to a specific device easily (HDD2, USB, CDROM, BIOS Setup, etc.)
Python
4
star
17

NeverForget

Easiest sticky notes app possible. Always there on Windows' deskop.
C++
3
star
18

wavfile.py

Python
2
star
19

aayi

The tiniest website analytics tool
PHP
1
star
20

ShareLinkAndPixelIt

Share external links on Facebook, but have them caught by your Facebook Pixel (useful to build retargeting audience)
PHP
1
star
21

0Doc-chip

Example of use of 0Doc for C.H.I.P.'s documentation
CSS
1
star
22

copycopypastepaste

CTRL+C some text, CTRL+C another text, then CTRL+V and CTRL+< to paste two buffers!
Visual Basic
1
star
23

textarea

https://josephernest.github.io/textarea/htmleditor.html
HTML
1
star
24

bigpicture-editor

Standalone editor based on bigpicture.js
JavaScript
1
star