What is the advantage of server-side client analytics?

I have always used client web analytics, which uses JavaScript to track visits to visitors to the site and all the useful information that gives. But some people recently told me that they prefer server-side analytics because it is faster.

So I wondered what are the main benefits of working on the client side with JavaScript? Who has more features and why?

+6
source share
3 answers

Server or client side for Google Analytics?

Server side benefits:

  • Servers can be configured with infinitely more power than desktop computers, and therefore can crunch "big numbers."

  • Performance may be more predictable because the same machines are used to analyze and analyze the results.

  • The output will not depend on the version of the browser / browser, since they just have to display the image.

  • The output can also be a multi-device without any dependencies.

  • The output can be the same in all cases, both to eliminate customer problems and to create an image that supports one output format for many.

Customer Benefits:

  • If the number of clients is large, say, thousands per minute, it may be useful to offload processing to client computers to avoid slowing down the central server.

  • Solutions, as a rule, provide greater interactivity and faster results, since all data and logic are on the client.

  • After downloading, initially the views can be changed without being connected to the network.

  • If the traffic changes a lot, sometimes say a few requests per hour, and sometimes hundreds per minute on the client side, make sure that the central server is not overloaded with this effort.

  • Server infrastructure is not needed and therefore will not cost money (provider).

+6
source

Many companies use both Google Analytics (client side) and Webtrends (server side / client side) for web analytics.

One thing in Google Analytics is that it does not work when the user does not allow scripts. Webtrends can scan your access logs.

+1
source

Client-side tracking provides more information than server-side tracking.

-3
source

Source: https://habr.com/ru/post/901991/


All Articles