FAQ About Data Measurement in Analytics
How Google tracks data?
By downloading the Tracking Code on the Analytics page, you give Google permission to track it. After you add this code to your website Google collects information such as which browser users have logged in, which language they use, how many people comes to your website or where did they came from to give you. By downloading this code, Google places a cookie on the user's computer, which collects the user's behavior.
Also it can be done from the Tag Manager section. Pluggins are also can be used. Finally, you can have Google track your data by uploading your data to your account.
What data does Google Analytics collect?
In addition to simple data such as every user entering the website, it can collect many data such as the number of people who clicked on the Buy button on the site, the tools that these people entered the Internet, and where they entered the Internet.
What is a hit?
The Analytics tracking code sends a so-called "hit" to Google Analytics.
A hit is a URL string containing useful parameters about users. This URL string contains some information about the user who triggered the hit. These; It contains a lot of information such as the language the user's browser is set to, the user's screen resolution, and where the user entered the site.
In addition, a user is defined to the system with a hit and has an ID. Thus, Google Analytics distinguishes that the user comes back to the site again.
Are there types of hits? If so, what are they?
These were three of the most common types;
- Pageview Hits,
- Event Hits,
- Transaction Hits,
Pageview hit is triggered when users load a web page with tracking code. This is the most common type of hit.
Event hit is a hit type that records every communication a user has with a particular element on the website. For example, you can track whether users click the Buy button here.
Transaction hit transmits information about purchases, such as purchased products, transaction IDs, and inventory holding units, to Google Analytics.
What parameters does event hit pass to the URL?
The parameters of event hit can be used to categorize interactions in website-specific reports. These parameters are;
What is Measurement Protocol?
The measurement protocol is a way to send data to Google Analytics so that you can collect the data, report on the data and the data you can send from your own server that is not part of the HTML.
The measurement protocol allows a developer to create some code to send data via an http post request, send the data to Google Analytics for storage.
What parameters are used in the measurement protocol?
In general, the first of the parameters that can be used for all hit types is 'Protocol Version'. Here the current value is assumed to be 1.
The parameter used for all next hit types is 'Tracking ID' or 'Web Property ID'. Here, too, all collected data is associated with this ID.
There are also several parameters that can be added optionally. These are 'Anonymize IP', 'Disabling Advertising Personalization', 'Data Source', 'Queue Time' and 'Cache Buster'.
There are optional parameters that can also be used for the user part. These are 'Client ID' and 'User ID'.
Apart from these, the parameter types that can be used optionally are as follows;
- Traffic Sources,
- System Info,
- Content Information,
- Enhanced E-Commerce,
- Social Interactions,
- Custom Dimensions / Metrics.