Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Statistics  (Read 10434 times)

0 Members and 1 Guest are viewing this topic.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Statistics
« on: May 10, 2013, 08:17:56 am »
I'd like to ask for some website statistics:

- Average visitors per day (unique).
- Average downloads per day (unique, current version, grouped by operating system and architecture, also bindings).
- Total downloads (also grouped and bindings, per version).

Thanks. :)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Statistics
« Reply #1 on: May 10, 2013, 10:36:27 am »
I forgot to add the tracking code to the new website... so there's no stat after the new website was released ;D :-[

Downloads are a little more complicated to track, I found some code but it doesn't seem to work, I'll need to investigate more.
Laurent Gomila - SFML developer

fer_t

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
Re: Statistics
« Reply #2 on: May 10, 2013, 11:21:53 am »
This stats would be very interessting.

If you need code to track downloads: in most cases they work so:
Your download link links to a PHP which gets operating system and saves it to database then it redirects to the file.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Statistics
« Reply #3 on: May 10, 2013, 03:52:38 pm »
Quote
Your download link links to a PHP which gets operating system and saves it to database then it redirects to the file.
Why would I have to do that?
Laurent Gomila - SFML developer

Foaly

  • Sr. Member
  • ****
  • Posts: 453
    • View Profile
Re: Statistics
« Reply #4 on: May 10, 2013, 09:16:23 pm »
I think the point is, that the PHP increments a counter to see how many people downloaded the file (you can additionally log the OS).

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Statistics
« Reply #5 on: May 11, 2013, 08:47:54 am »
Do you really think that I'm counting everything manually? I use Google Analytics... :P

Adding a download counter is just a javascript call to add to the corresponding <a> tags, I'll get it working as soon as I have more than 5 minutes to spend on it ;)
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Statistics
« Reply #6 on: May 11, 2013, 01:00:48 pm »
My tracking code was outdated, I updated it and got everything working, including downloads.

So, statistics for SFML 2.0 and the new website start from today. I'll post them when I get enough numbers (most likely next week-end); don't hesitate to remind me if I forget ;)
Laurent Gomila - SFML developer

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re: Statistics
« Reply #7 on: May 11, 2013, 05:08:47 pm »
Downloads of people having JS disabled however won't be tracked.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Statistics
« Reply #8 on: May 11, 2013, 07:18:03 pm »
Same for pages, everything is based on javascript.

I can't get the PHP script to work, but as usual, should be ok as soon as I get more than 5 minutes ;)
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Statistics
« Reply #9 on: May 11, 2013, 10:32:38 pm »
It seems that their PHP script is totally buggy. I don't even know if it's still maintained.

Since I'm not very interested by statistics, I'm not going to invest more time on this issue and stick to javascript and its inaccurate results for now. Sorry :-\
Laurent Gomila - SFML developer

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re: Statistics
« Reply #10 on: May 12, 2013, 12:41:06 am »

timo777

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Statistics
« Reply #11 on: May 17, 2013, 09:05:55 pm »
Maybe you can take a look at this for your server.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Statistics
« Reply #12 on: May 17, 2013, 09:10:56 pm »
I can't afford both the price and time required to run a dedicated server. I'm on shared hosting ;)
Laurent Gomila - SFML developer

kralo9

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • Email
Re: Statistics
« Reply #13 on: May 21, 2013, 06:53:14 pm »
I can't afford both the price and time required to run a dedicated server. I'm on shared hosting ;)

What host? I am just curious :)
I'm totally exhausted. I've got 3 children and no money! Why can't I have no children and 3 money? - Homer S.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Statistics
« Reply #14 on: May 21, 2013, 08:12:14 pm »
OVH (french).
Laurent Gomila - SFML developer

 

anything