📜 ⬆️ ⬇️

What are Google Analytics Cookies made of?

cookies
Good day.
Recently, one of our customers expressed a desire to receive additional information about visitors to their site, more specifically, about the people who filled out the contact form. This is a large European company and they would like to “filter” their potential customers. Let me explain with an example - let's say they decide to organize an exhibition of their equipment in Hungary and they need to decide which of the Hungarians who left them their contacts is probably a worthwhile client, and who “passed by”.
The main indicators of "reliability" of the client for us are: the number of visits to the site, the time spent on the site, the number of pages viewed. All this information we received from Google Analytics Cookies.

What are cookies from Google?

If someone suddenly does not know what a cookie is, then you can read, for example, in Wikipedia .
')
Google Analitics uses mainly four types of cookies: __utma, __utmb, __utmc, __utmz (sometimes __utmv and __utmx occur, but during the crisis I didn’t feel the need to get them).
Let's sort each separately on an example.

__utma

These are the main user cookies that uniquely identify the site visitor and contain a lot of useful information about him.
These cookies last for two years (if the user doesn’t clear them), that is, you can receive information for a sufficiently long period of time.

Format: XXXX.DDDD.FFFF.PPPP.CC.N.
Example: 126394024.179004532335319200.1247654493.1260769004.1260878051.7

Values:

__utmb

These cookies carry information about the current session of the user, the lifetime is 30 minutes after the last page viewed.

Format: XXXX.P.10.CCCC
Example: 126394024.1.10.1260878051

Values:

__utmc

The lifetime of these cookies is the current session. Only contain domain hash.

__utmz

The most interesting of all cookies will tell you how the user came to the site, where he came from (if he used the link from another resource) and what keywords he searched for your site (if he came from a search engine).
Term life - 6 months, updated when loading the next page of the site.

Format: XXXX.TTTT.VSutmcsr {source} | utmccn {campaign} | utmcmd {medium} | utmctr {keyword}
Example: 126394024.1260524913.5.5.utmcsr = yandex | utmccn = (organic) | utmcmd = organic | utmctr = best

Values:

As you can see, these cookies contain a lot of useful information.
You can read more about Google Analytics Cookies in the official documentation .

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


All Articles