Cookies Flashcards

1
Q

At what point is the Google Analytics _ga cookie read/written?

A

When the Google Analytics tracking code is generating a pageview

The Google Analytics tracking code, which is a snippet of JavaScript code that you place on each page of your site, includes a line of code for generating a pageview. When the page loads in the browser and the pageview code is executed, the Google Analytics _ga cookie is read and/or written.

For example, an existing _ga cookie would be read to determine if the visit is a return visit.

Note that the _ga cookie in Google Analytics Universal replaces the __utma, __utmb, __utmv, and __utmz cookies that are used in Google Analytics Classic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following could be a reason a visitor has deleted/blocked cookies?

A

Some cookies record browsing history or personally identifiable information, such as a login email

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why does Google Analytics write cookies to the browser of a website visitor?

A
  1. To calculate the number of unique/returning visitors
  2. To track the visitor’s original source across multiple

Sites that run Google Analytics issue cookies that allow the site to uniquely, but anonymously, identify individual visitors. When a visitor returns to a site that runs Google Analytics, the site uses the cookies written during the previous visit to determine if the visitor is a return visitor or a new visitor.visits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the difference between persistent and temporary cookies?

A

Persistent cookies have an expiration date

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Persistent cookies have an expiration date and remain on your

A

computer even when you close your browser or shut down. On return visits, persistent cookies can be read by the website that created them (or by scripting from a third-party domain).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Temporary (or “session”) cookies do not have an

A

expiration date, as they are stored only for the duration of a visitor’s current browser session. As soon the visitor closes the browser, temporary cookies are destroyed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The single cookie that Google Analytics Universal writes

A

(_ga) has an expiration of two years, which is refreshed with each new visit and action initiated by that user (in the same browser).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Cookies allow Google to calculate first-time and returning visitor metrics,

A

track sessions, correlate campaigns/sources with website activity, and provide a wide array of additional traffic analysis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Google Analytics uses cookies to uniquely but

A

anonymously identify visitors, not to store personally identifiable information such as email addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the difference between a first- and third-party cookie?

A
  1. When first-party cookies are written, they’re associated with the domain that the visitor is viewing
  2. third-party cookies are associated with a domain other than the one that the visitor is viewing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

At what point is the Google Analytics _ga cookie read/written?

A

When the Google Analytics tracking code is generating a pageview

How well did you know this?
1
Not at all
2
3
4
5
Perfectly