Bỏ qua

Google tag, global site tag, gtag là những cái tên khác nhau cho đoạn script theo dõi người dùng của Google Analytics, còn Google Tag Manager là một trình quản lý các mã JavaScript được gắn vào web. Ngoài Google tag ra còn có Facebook tag, LinkedIn tag, v.v.


Nguồn:: GTAG vs Google Tag Manager. What is the Difference? What to Choose?

Lợi ích của Google Tag Manager

  • The ability to deploy and modify both Google and 3rd party tags
  • The ability to deploy and modify tags for both web and mobile apps
  • The ability to deploy and modify tags on the fly from a web interface
  • Collaboration and versioning capabilities

Nguồn:: Google Support, Tag Manager and the Google tag (gtag.js) - Tag Manager Help

You should only use either the Google tag or Tag Manager, not both. Using both methods will have unintended consequences, such as overcounting data from your website. If you’ve installed both the Tag Manager snippets and the Google tag snippet, remove the snippets for one of these implementation options.
Nguồn:: Google Support, [GA4] Troubleshoot tag setup on your website - Analytics Help