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.




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
BDFL - Memuneh
64659 posts

Uber Geek

Administrator
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):














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

 
 
 
 


1382 posts

Uber Geek


  # 1016379 1-Apr-2014 09:42
One person supports this post
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

 


BDFL - Memuneh
64659 posts

Uber Geek

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







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

1382 posts

Uber Geek


  # 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

 


Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36


MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28


Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15


D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31


Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29


Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24


Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59


Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07


Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02


Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41


Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36


2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17


Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46


Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51


Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.