Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


GamerOC

439 posts

Ultimate Geek


#142996 31-Mar-2014 12:23
Send private message

Hi Geekzone and thank you for reading this post.

Firstly yes i have searched google for days and still havent been able to find something that may be able to do what I would like to do with my project.

Secondly Im still searching the web for answers and hopefully some ideas or recommendations from Geekzone members will be highly appretiated and could bring light to my challenge.


I have created a website that its protected with login and password membership.

the website is a academic online database of research resouces like articles.


I would like to find a way to track what members login into sie and how often they use the site.  "The site has 60 members" ( Im currently trying to figure out google analytics but its quite confusing).

the purpose of this tracking is to find out if the project is worth investing resources on or if its a waste of funds.

Im not interested on tracking what pages they see i just want to know who logins and how often in a month period for example.


Is this possible and what technology would you recommend me to use, please accept my apology for such a long post.


I thank you all in advance,

cheers,



Andrew


Create new topic
freitasm
BDFL - Memuneh
79314 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1016207 31-Mar-2014 20:38
Send private message

Using Google Analytics you can create Custom Variables and store anything in those. You have up to five Custom Variables but providing they are used in different context you can store an unlimited amount of information.

For example that how I track number of IPv4 vs IPv6 connections, Forums readership, Number of pages served to logged in/non logged in readers, etc. This is what you see for example (with more information, I cut anything with numbers, and you can add/remove columns):












Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync 




GamerOC

439 posts

Ultimate Geek


  #1016366 1-Apr-2014 09:27
Send private message

thank you so much  freitasm,

that is very interesting and will pursuit getting that setup for my web database site.

Kind regards,



Andrew

TwoSeven
1627 posts

Uber Geek

Subscriber

  #1016379 1-Apr-2014 09:42
Send private message

If you don't want google having access to all your statistical data - the other way is simply to modify your application.  Just create a database table called something like analytics with the appropriate data fields you want to capture.  Create yourself a "singleton" class that contains appropriate "logging" methods (these simply write data to your db table).

Basically what happens is when an event (request) occurs you log it by calling the appropriate logging method.  So methods like LoggingIn, LoggedIn   might track attempts at logging in versus successful logins - you might track username, datetime, IP address etc.   You may have logging methods for page loads (what pages they navigated to) or even what data was selected, what search terms used etc.

One benefit apart from being able to categorise and mine your own data, is that your web application is not dependant on the availability of an external entity.




Software Engineer
   (the practice of real science, engineering and management)
A.I.  (Automation rebranded)
Gender Neutral
   (a person who believes in equality and who does not believe in/use stereotypes. Examples such as gender, binary, nonbinary, male/female etc.)

 

 ...they/their/them...




freitasm
BDFL - Memuneh
79314 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #1016386 1-Apr-2014 09:45
Send private message

I was going to suggest that but then you get into other space: scaling (it may be that the table to store this data grows more than anything else in the system, database management, performance tuning, etc). Unless the OP wants to know usage by individual user, then an aggregate gives a lot of information.

I could easily track this information on Geekzone itself, but when you're serving millions of pages a month, adding database writes, with associated log flushes, backup space, locking, etc can quickly get you into a nightmare of performance.





Please support Geekzone by subscribing, or using one of our referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSync 


GamerOC

439 posts

Ultimate Geek


  #1016393 1-Apr-2014 09:59
Send private message

I just found this guide that seems quite good


https://developers.google.com/analytics/devguides/collection/analyticsjs/user-id?hl=en

TwoSeven
1627 posts

Uber Geek

Subscriber

  #1016524 1-Apr-2014 12:48
Send private message

freitasm: I was going to suggest that but then you get into other space: scaling (it may be that the table to store this data grows more than anything else in the system, database management, performance tuning, etc). Unless the OP wants to know usage by individual user, then an aggregate gives a lot of information.

I could easily track this information on Geekzone itself, but when you're serving millions of pages a month, adding database writes, with associated log flushes, backup space, locking, etc can quickly get you into a nightmare of performance.



I was thinking about the performance side of things itself, however, the statistics writes would normally be async with no reply (unidirectional) and therefore really can work on a non-blocking background thread (if performance was an issue), there are other techniques such as local server queuing (such as batching up requests to local disk and doing a single periodic write) and server partitioning (so these writes go to a dedicated statistics server/cluster) and/or could be pushed into a data warehouse to become read optimised.






Software Engineer
   (the practice of real science, engineering and management)
A.I.  (Automation rebranded)
Gender Neutral
   (a person who believes in equality and who does not believe in/use stereotypes. Examples such as gender, binary, nonbinary, male/female etc.)

 

 ...they/their/them...


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.