[ Web Proxy ]
URL:
Viewing: https://developers.google.com/tag-platform/devguides [Back]  [Original]

Introduction to tagging and the Google tag  |  Tag Platform  |  Google for Developers Skip to main content
Send feedback

Introduction to tagging and the Google tag Stay organized with collections Save and categorize content based on your preferences.

outlined_flag

Tagging is the process of adding snippets of code (called tags) to each page of your website so you can learn about the people who visit your site and how they interact with it.

Tagging is an integral part of many measurement products, including Google Ads, Google Analytics, and many third-party products too.

Whether you want to know about your most popular blog posts, most effective landing pages, or most popular products, the data you'll collect through tagging lets you make more informed decisions about your site and your marketing strategies.

Get started with the Google tag

The Google tag is a single piece of code that you can find in Google Ads, Google Analytics, and other similar Google products. Instead of managing multiple tags for different Google product accounts, you can use the Google tag across your entire website and connect the tag to multiple destinations.

Set up the Google tag

Setting up the Google tag depends on how your site is set up and how you can change the code. You can implement the Google tag on your site in one of the following ways:

If you use a website builder or content management system like Shopify, Wix, or Wordpress, the website builder or content management system may offer an integration for setting up Tag Manager or gtag.js on your site.

To set up measurement and advertising tags in a mobile app, use the Google Analytics for Firebase SDK. Then, you can also use Tag Manager to modify and route data in the mobile app.

Next steps

Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-02-04 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],["Tagging involves adding code snippets to website pages to track user behavior and gain insights for informed decision-making. The Google tag, a unified code snippet, can be implemented across a website and connected to multiple Google products. Implementation methods include Google Tag Manager, which requires two code snippets and allows tag management without coding, and gtag.js, requiring one code snippet and JavaScript proficiency. Website builders and the Firebase SDK offer integrations for simplified implementation.\n"]]

Web Proxy Viewer  |  New URL  |  Original Page