Описание тега google-tag-manager
Basic Implementation
Deploy and update measurement tags on your websites and mobile apps without major code changes and app releases.
Basic implementation to make temporary changes without changing source code.
Great for: Social tracking pixels, basic analytics, minor tweaks
Links
Advanced Implementation
Many tag management operations can be achieved by just doing the basic code installation, but if you'd like to have finer grain control over tag events or data, you may want to use some customization using our asynchronous methods.
Source: https://developers.google.com/tag-manager/quickstart
Advanced implementations rely on using the Google Tag Manager API and/or the "data layer". Careful planning and rules will help keep required minor changes from bloating application source code.
Best for: enhanced ecommerce tracking, compliance or security requirements, advanced analytics, AB testing, User Feedback Loops, or other custom configurations.