多くのコンテンツ管理システムや e コマース システムは、Google の測定サービスと手軽に連携させることができます。Google タグのスニペットを追加したり、プラットフォームのテンプレートに Google タグ マネージャーをインストールしたりする前に、ご使用のプラットフォームに Google タグとの連携機能が組み込まれていないか、対象プロバイダのサポート ドキュメントでご確認ください。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-02-06 UTC。"],[[["\u003cp\u003eBefore installing tags, analyze your website or app's current measurement setup and goals to determine the best approach.\u003c/p\u003e\n"],["\u003cp\u003eChoose Google Tag Manager for flexibility and future scalability, Google tag for simple setups, or Firebase for mobile apps.\u003c/p\u003e\n"],["\u003cp\u003eConsider existing tag configurations and instrumentation to avoid redundancy and optimize your setup.\u003c/p\u003e\n"],["\u003cp\u003eFor Google Tag Manager, plan for long-term account management, utilize a single account per organization, and empower IT with security controls.\u003c/p\u003e\n"]]],["Before setting up tags, analyze existing website configurations and measurement practices. Define business goals to guide decisions on which measurement products, events, and reports to prioritize. Choose between Google Tag Manager, Google tag, or Firebase based on these goals. Assess existing tag platforms and instrumentation, including `dataLayer` objects and event data. For Tag Manager, establish a strategy for account management, security, and access controls. Ensure efficient and non-redundant tag configurations, and upgrade to the latest tag methods if necessary.\n"],null,["# Plan your tag setup\n\nBefore you install tags, you should look at your existing website or app\nconfiguration and analyze what measurement products and practices might already\nbe in place. Some questions to consider include:\n\n- [What are your measurement goals](#measurement_goals)?\n- [Should you use Google Tag Manager, gtag.js, or\n Firebase](#gtm_gtag_fb)?\n- [Do you have existing tags installed through Tag Manager, Google tag,\n Firebase, or other platforms](#existing_tag_platforms_and_instrumentation)?\n- [What custom instrumentation exists currently to collect data](#existing_tag_platforms_and_instrumentation)? For example: Do you have a way to collect ecommerce data on your site or app?\n\nMeasurement goals\n-----------------\n\nBefore you begin any measurement product setup, consider what your business\ngoals are first. Some example goals for your business might include:\n\n- How often an ad is clicked\n- How many new subscriptions come from ad campaigns\n- How many site visits result in cart checkouts\n- What your most successful marketing channels are\n- What the optimal placement of user interface elements is for the highest conversion probability\n- Which products fare best in the ecommerce funnel of the website\n- What actions typically precede a successful conversion\n\nAlso consider negative goals by identifying the opposite of the above goals. For\nexample, identifying marketing channels that struggle to produce conversions is\na relevant negative goal to help you improve your overall marketing efforts.\n\nUse your business goals to help you decide what products to use, which events\nyou want to measure, what instrumentation you might need, and what reports you'd\nlike to see. These decisions should drive your measurement implementation\nstrategy.\n\nRemember that business goals are not set in stone; they're questions you need to\nre-evaluate frequently. As you collect more data, additional business questions\nmight emerge that you'll want to refine in your implementation strategy, too.\n\nGoogle Tag Manager, Google tag, or Firebase?\n--------------------------------------------\n\nIf you're new to tagging, you might be asking: What should I use - the Google\ntag, Google Tag Manager, or Firebase?\n\nIf your site platform or Content Management System permits it, Google Tag\nManager should be your first choice for deploying analytics and marketing tags.\nTag Manager gives you the most flexibility in how and when to deploy site tags.\nEven if you only need it for a single Google product (such as Google Ads), Tag\nManager prepares your measurement plan for possible future product integrations\nas well.\n\n**Google tag:** If you haven't tagged your web pages yet, or only intend to\ntag your pages for one product (e.g. Google Ads) with few changes over time,\nthen a Google tag installation may be the fastest and easiest method to get\nstarted. The Google tag is a snippet of code that you add to a web page.\n[Learn more about Google tag installation](/tag-platform/gtagjs/install).\n\n**Google Tag Manager:** Tag Manager is a robust, fully featured, enterprise-\ngrade tag management system that supports Google, third-party, and custom tags\nfor web and mobile apps. You can add and modify tags through the Tag Manager\ninterface without adjusting the code on your site. In addition, Tag Manager\nfeatures support for third-party tags, organization features, version control,\nand enterprise collaboration and security features. Tag Manager features the\nability to create [custom tag and variable templates](/tag-platform/tag-manager/templates) that you can share with your\nteam, and you can deploy and use templates in the\n[Community Template Gallery](http://tagmanager.google.com/gallery).\nYou can use [server-side tagging](/tag-platform/tag-manager/server-side) to move code out of the client side and into\nthe cloud for additional performance and security benefits.\n[Learn more about Tag Manager](/tag-platform/tag-manager).\n\n**Firebase** Firebase is a toolset by Google that supports mobile devices,\nincluding [iOS](https://firebase.google.com/docs/ios/setup) and [Android](https://firebase.google.com/docs/android/setup). Firebase includes measurement frameworks for\nGoogle products such as [Google Ads](https://firebase.google.com/docs/ads) and [Google Analytics](https://firebase.google.com/docs/analytics). Use Firebase if you\nneed to set up measurement on mobile apps.\n\nYour measurement goals may help to inform which tagging tool you should use:\n\n- If your primary measurement goal is related to Ads performance, consider using the Google tag.\n- If your primary goal is to measure all traffic to your site, consider using the Google tag.\n- If you want to measure Google Ads, Google Analytics, and other measurement platforms, consider using Google Tag Manager.\n- If you want to measure campaigns and usage on mobile devices, use Firebase.\n\nRegardless of your measurement goals, consider installing Google Tag Manager,\nas it gives you the most flexibility in working with a range of Google (and\nthird-party) measurement and advertising products.\n\nIntegration with content management and ecommerce systems\n---------------------------------------------------------\n\nMany content management and ecommerce systems feature turnkey integration with\nGoogle measurement products. Before you proceed with adding the Google tag snippet or\ninstalling Google Tag Manager in your platform's templates, see if your platform\nalready provides a built-in integration for Google tags by checking the\nprovider's support documentation.\n\nNote that often these integrations might be missing key features and latest\nupdates to the measurement stacks they represent. Be sure to check the\ndocumentation and consult platform support, if necessary.\n\nThird-party tag management systems\n----------------------------------\n\nGoogle tags are commonly deployed from third-party tag management systems. When\nusing a third-party tag management platform, in all cases you will want to refer\nto the Google tag version of Google's tag documentation, and whenever\npossible you should refer to the third-party vendor's documentation.\n\nExisting tag installations and instrumentation\n----------------------------------------------\n\nConsider what tag setups you may already have installed. If you have tags\nalready installed and deployed, you should review your tag configuration to\nensure it is properly configured and optimized. If you are on an older tag\nlibrary such as analytics.js or conversions.js, you should\n[upgrade your tag setup](/tag-platform/devguides/upgrade) to the latest supported method. You should avoid\ninstalling redundant tags or tag management systems, and you should try to keep\nyour tag configurations as efficient as possible.\n\nThe quickest way to figure out existing tag configurations for web sites is to\nuse [Google Tag Assistant](https://tagassistant.google.com/).\nRun Tag Assistant to automatically discover tag configurations and product IDs.\n\nYou can also manually search for existing tags in source code.\n\nIf there is an existing tag platform, you will also want to investigate any\nexisting instrumentation.\n\n- Is there an existing [`dataLayer`](/tag-platform/devguides/datalayer) object? If so, what data appears in it?\n- Does event data appear in your reports? If so, what?\n- How is event data being collected?\n\n[Learn more about analyzing existing tag configurations](/tag-platform/devguides/existing).\n\nFor Google Tag Manager installations\n------------------------------------\n\nTag Manager installations have additional considerations:\n\n### Manage personnel changes\n\nWhen you first [set up a Tag Manager account](https://support.google.com/tagmanager/answer/6103696), put a strategy in\nplace for who will manage the account over the long term, and to define how\naccount ownership will be handled should a member of your team change roles.\n\nHave a strategy that will help to ensure that if someone leaves your\norganization and their account credentials are terminated, the organization will\nmaintain access to your Tag Manager account. Some organizations delegate\n[administrator roles](https://support.google.com/tagmanager/answer/6107011) to multiple users. Others create a dedicated master Google\naccount just for Tag Manager administration for their organization. Choose the\nsystem that works best for you.\n\n### One Tag Manager account per organization\n\nSet up one Tag Manager account per organization. The organization for which the\ntags will be managed should create the Tag Manager account. For example, if an\nagency manages tags on behalf of your company, then your company should create\nthe Tag Manager account and add the agency's Google account as a user.\n\n### Empower IT with additional security controls\n\nYour company's IT department may be wary about the freedom of deployment that\nGoogle Tag Manager provides. IT can deploy additional security measures such as\n[Content Security Policies](/tag-platform/tag-manager/web/csp), [custom restrictions](/tag-platform/tag-manager/web/restrict), and\n[custom template policies](https://developers.google.com/tag-platform/tag-manager/templates/policies).\n\n### Use zones to manage access\n\nAgencies can manage their clients' existing accounts in the admin section of Tag\nManager. Multiple users can manage the same Google Tag Manager account, and each\nuser can be given different access permissions by the account administrators.\nGoogle Tag Manager 360 customers can add and control additional containers using\n[zones](https://support.google.com/tagmanager/answer/7647043)."]]