http - How to extract analytics information like Google Analytics? -


I am making my own Shortter Service for myself. I want to add an admin page which displays some basic analytics information. As Google Analytics displays page views, unique visitors, geographic areas, social media referrals, etc. I know that using Google Analytics cookies and every page on my server, but I do not think I need to do this to get some good information.

What kind of analytics information can I remove from a basic HTTP request?

I am using Ruby, but the answer may probably apply to many languages.

If you are using Google Analytics, then you can get back to the GA back-end You can use to send data directly, where you can make an HTTP request (server or client for example).

The end user requests for a small link, you can remove information such as a user agent string (if it is from a browser) and an IP address (which gives you geographical location information) and if the cookies If you are present, you can set unique trips or track if you send that information to GA, it will automatically process for you (e.g. Dharit do not need to) and allow you to run all the usual reports. (Some things will not apply on time or sessions per page, but this should be clear.)

In the case of the creation of an administrator dashboard, you can use it for all your reporting . Embed API handles auth for you and has a very easy access API to display GA data.

If you are not using Google Analytics, then you have all the same content; All you need to do is process the data yourself, i.e. parsing the user agent string, translating the IP address into the geographic data, etc.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -