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 your Google tag with Drupal.

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


Note: 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.
  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.

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Clear search
Close search
Google apps
Main menu
Search Help Center