Notification

Google Analytics (分析):GA4 設定代碼現已改稱 Google 代碼。自 9 月起,系統將自動遷移網站容器中的 GA4 設定代碼。現有的評估方式沒有任何改變,您也無須採取任何行動。瞭解詳情

你要瀏覽的網頁目前並未提供你慣用的語言版本。你可以在頁面底部選取其他語言版本,或使用 Google Chrome 內建的翻譯功能,將網頁內容即時翻譯成所選的語言。

Drupal: Set up your Google tag

You can measure behavioral data about your site with Google Ads and Google Analytics. Follow the steps in this article to set up a tag for your Google Ads or Google Analytics account. Learn more about Installing your tag with a website builder or CMS.

Before you begin

You can integrate your account with Google Ads or Google Analytics for free. To set up your integration, you’ll need a valid Google sign in and an active Drupal account.

If you’d like access to additional features, you can set up integration with the following customizations:

  • Enhanced link attribution
  • Event tracking
  • File download tracking
  • IP address masking

You’ll need to download Drupal’s extension directly separately from its CMS to upload extensions. Download the latest version of Drupal’s Google Analytics plugin from the extension directory.

Instructions

  1. Sign in to your Drupal account.
  2. On the toolbar, click Manage.
  3. From the dropdown menu, click Extend.
  4. On the “Extend” page, click + Add new module.

This animation demonstrates step 1 of setting up Google Analytics with Acquia.

  1. On the “Add new module” page, click Continue to upload the extension file downloaded from the extension directory before step 1. A message will appear when the extension is uploaded successfully.

This animation demonstrates step 2 of setting up Google Analytics with Acquia.

  1. Return to the “Extensions” page and scroll to the “Statistics” section.
  2. Check the box next to “Google Analytics” and click Install.

This animation demonstrates step 3 of setting up Google Analytics with Acquia.

  1. After the extension is installed, scroll back to the “Google Analytics” extension section.
  2. Expand the “Google Analytics” section and click Configure.

This animation demonstrates step 4 of setting up Google Analytics with Acquia.

  1. Type your Google tag. Click Save.

This animation demonstrates step 5 of setting up Google Analytics with Acquia.

這對您有幫助嗎?

我們應如何改進呢?
Search
Clear search
Close search
Main menu
5249054681041659647
true
搜尋說明中心
true
true
true
true
true
102259
false
false