Google Analytics - Client Id (cid) - Anonymous Id

Card Puncher Data Processing

Google Analytics - Client Id (cid) - Anonymous Id

About

ClientId is the anonymous user id in Google analytics

Management

Creation

If a cookie does not exist for the specified domain, a client ID is generated and stored in the cookie

Get

Web

The client id is stored in the utma cookie

You can get it programmatically

ga(function(tracker) {
  console.log(tracker.get('clientId'));
});
1161459517.1575879169

where:

  • 1161459517, the first number is a random number.
  • 1575879169, the second number is the epoch timestamp (in second) of the initial visit (It is set as soon as you enter the site).

Example:

clientId = '1161459517.1575879169'
clientIdParts = clientId.split('.');
console.log('The random number is : '+clientIdParts[1]);
console.log('The initial Visit was at: '+(new Date(1000*clientIdParts[1])));

Mobile

For mobile apps, this is randomly generated for each particular instance of an application install. The value of this field should be a random UUID (version 4)

Example value: 35009a79-1a05-49d7-b876-2b884d0f825b

Documentation / Reference





Discover More
Card Puncher Data Processing
Analytics - User Id (Person identity)

This page is a user identity (id). A person’s identity can be: anonymous (we don’t know anything this person yet), or named (we know something them such as an email address.) The most...
Card Puncher Data Processing
Google Analytics (ga)

from Google ga() is tracking snippet. It's implemented as a javascript global function known as the command queue If the ga() command queue receives a command it doesn't recognize, it simply ignores...
Card Puncher Data Processing
Google Analytics - Tracker

in Google analytics Tracker objects (also known as “trackers”) are objects that can collect and store data and then send that data to Google Analytics. doc...
Card Puncher Data Processing
Google Analytics - User Identification

in Google Analytics for a The user id is the named id (the id of your application) You can specify a user id when creating a tracker. from doc...
Card Puncher Data Processing
Google Analytics - Utma Cookie

The Utma cookie is one of the Ga cookie that fulfill the role of cookie identifier The __utma cookie is used to distinguish users and sessions. The cookie is created when the javascript library...
Basket Analysis Joke
Web Analytics - Page views (PV)

id The unique ID of the page or screen call itself received_at When the page or screen call was received sent_at When the page or screen call was triggered by the user a collaborative recommandation...
Data System Architecture
What is a Surrogate Primary key? known also as Substitute, Synthetic or Generated Key - Logical Data Modeling -

A surrogate key is a substitute primary key for when: the data entity are created in distributed way you don't have access to a central entity such as database to create a simple sequence you don't...
What is a UUID - Universally Unique IDentifier - (also known as GUID) ?

UUID (Universally or Global Unique IDentifier) are generated identifiers that are guaranteed to be unique and avoid collision



Share this page:
Follow us:
Task Runner