Google Analytics Tracking Code Flashcards
What happens if a JavaScript error occurs on a web page prior to the Google Analytics tracking code being executed?
the visit to the page will not be tracked
Which of the following situations would require customizations to your tracking code?
Tracking multiple domains in a singe property
The default tracking code is designed to track activity that occurs on a single domain. To track multiple domains within a single Google Analytics property, you need to modify the Google Analytics tracking code.
As a note, the Google Analytics Universal tracking code accommodates tracking across subdomains, such as www.mysite.com and blog.mysite.com, so modification of the tracking code is not required in this scenario.
How can you track secure pages in Google Analytics?
You can use the default tracking code to track both secure and non-secure pages in the same property
Within the Google Analytics tracking code, formatted as UA-XXXXXXXX-1, what does the XXXXXXXX represent?
Google Analytics Account
The number following the account ID is the property index. UA + account ID + property index, in the format UA-12345678-3, is sometimes referred to as “UA number” and represents a specific property, such as a website or app.
Which of the following user activities would normally NOT generate a pageview by default?
a. viewing a PHP page (ending in .php)
b. downloading a file
c. performing an internal site search
d. viewing a microsoft ASP>NET page (ending in .aspx)
b. downloading a file
Which Google Analytics report will tell you how many search engine crawlers have visited your site?
Google Analytics is unable to track most crawlers since they do not execute JavaScript
Which of the following must be enabled in the browser for the Google Analytics tracking code to execute?
images
java
javascript
cookies
images
javascript
cookies
JavaScript, cookies, and images must be enabled in the browser for Google Analytics to track activity. The vast majority of Web users do keep all three of these capabilities enabled.
Images must be enabled because the tracking code sends data about the visitor, page, and technical environment to the Google Analytics servers by requesting the “tracking pixel”, the single-pixel image named __utm.gif to which it appends this data as individual parameters.
Why might a Google Analytics report for www.mysite.com display mysite.com in the Referral Traffic report?
the tracking code is missing from some of your pages
Does Google Analytics track pageviews if the pages are already cached in a visitor’s Web browser?
Yes, as long as the visitor is connected to the internet
Which of the following mechanisms are involved in mobile app tracking? (select two)
- Activities are reported to the Google Analytics API once the app reconnects to the Internet
- Google Analytics API is used to communicate with the Google Analytics servers
Can GA collect data for
responsive websites
iPhone app
kiosk
point of sale
Yes
Google Analytics can track a responsive website with just the standard tracking code. You can also code iPhone and Android apps, Internet-connected kiosks, and points of sale devices to record Google Analytics data through the Google Analytics API (application programming interface).
During which phase of Google Analytics as a system are your configuration settings applied to raw data?
Collection
Processing
Reporting
Processing
To aggregate the data from two different websites in Google Analytics, you must use the same tracking ID on both sites.
True
You must use the same property ID to aggregate data from more than one site into the same Google Analytics property and views.
Which of the following statements about views are true?
a. Two views for the same property usually have different settings and/or filters applied
b. A new view will show data back as far as the time the property was created
c. A deleted view can be restored
d. Settings and filters applied to a view can be removed retroactively
a. Two views for the same property usually have different settings and/or filters applied
Which of the following mechanisms are involved in mobile app tracking? (select two)
- Activities are reported to the Google Analytics API once the app reconnects to the Internet
- Google Analytics API is used to communicate with the Google Analytics servers