AC

Where should the Analytics tracking code be placed in the HTML of a webpage for data collection?

Just before the closing </body> tag of your website
Just after the opening <body> tag of your website
Just after the opening <head> tag of your website
Just before the closing </head> tag of your website

Correct Answer

Just before the closing </head> tag of your website

Official documentation: https://support.google.com/analytics/answer/1008080

About the Google Analytics Individual Qualification – Universal Analytics (Retired)

This exam covered Universal Analytics, which Google has shut down.

Exam guide and all 176 Universal Analytics (Legacy) questions →

Related Universal Analytics (Legacy) questions

  1. 1The Google Analytics SDK or tracking code sends campaign and traffic source data through a number of different field. Which of the following is one of the fields used to sends campaign or traffic source data?
  2. 2When does the tracking code send an event hit to google analytics?
  3. 3What cannot be collected by the default Analytics tracking code?
  4. 4When does the Analytics tracking code send a pageview hit to Google Analytics?
  5. 5True or False: If you have updated your tracking code to analytics.js, then no additional configuration is required to track subdomains.
  6. 6Which reporting or data collection feature(s) do you get access to by activating Advertising Features in Google Analytics?