Shopify:设置您的 Google 代码

您可以利用 Google Ads 和 Google Analytics(分析)来衡量您网站的行为数据。请按照本文中的步骤,为您的 Google Ads 或 Google Analytics(分析)账号设置代码。详细了解如何使用网站开发工具或 CMS 添加代码

关于如何设置 Google 代码的操作说明,以“AW-”开头的代码 ID(通常为 Google Ads 账号)与以“G-”开头的代码 ID(通常是 Google Analytics [分析] 媒体资源)有所不同。请按照下方您的代码对应的说明进行操作。

开始前须知

您可以免费将 Shopify 账号与 Google Ads 或 Google Analytics(分析)集成。若要设置集成,您需要:

如果您的代码 ID 以“AW-”开头

GIF 图片演示如何设置 Google 代码与 Shopify 的集成。

  1. Sign in to your Shopify account and download the “Google & Youtube” app.
  2. From your Shopify console, click the search bar and search “Google and YouTube”.
  3. You'll be taken to the Shopify App Store. Click Install to continue.
  4. Review the list of permissions required, then click Install to continue.
  5. If the app isn't connected to Google, click Connect Google account and choose the Google account that owns your Ads property.
This image represents the Google account setup process for connecting with Shopify
  1. Under the "Just want to set up Google Ads conversion measurement" banner, click Get Started.
This image represents the App setup process for connecting with Shopify.
  1. Select your "Google Ads account", then click Connect.
This image represents the step to connect Google ads account.
  1. Click Complete Setup.
This image represents the step to complete account setup process for connecting with Shopify
  1. Ensure conversion tracking is enabled. Your account is now sending conversion information to Google.
This image shows the step to switch on conversion tracking for the account.

如果您的代码 ID 以“G-”开头

GIF 图片演示如何设置 Google 代码与 Shopify 的集成。

  1. Sign in to your Shopify account and download the “Google & Youtube” app. 
  2. From your Shopify console, click the search bar and search “Google and YouTube”.
  3. You'll be taken to the Shopify App Store. Click Install to continue.
  4. Review the list of permissions required, then click Install at the bottom to continue.
  5. If the app isn't connected to Google, click Connect Google Account and choose the Google account that owns your Google Analytics property.
    This image represents the Google account setup process for connecting with Shopify
  1. Under the "Looking only to set up Google Analytics 4" banner, click Get Started. This image shows the step to connect Gtags from the Google Analytics account.
  2. Select your "Google Analytics property", then click Connect.
Note: If you plan on using Google Analytics to track free listings and ads conversions, check How to avoid duplicating tracking events to ensure that you do not duplicate conversion tracking.

该内容对您有帮助吗?

您有什么改进建议?

需要更多帮助?

请尝试以下步骤:

搜索
清除搜索内容
关闭搜索框
主菜单
9043171773970993502
true
搜索支持中心
true
true
true
true
true
102259
false
false