- Web templates
- E-commerce Templates
- CMS & 博客 Templates
- Facebook Templates
- Website Builders
Drupal 7.x. How to add Google Analytics tracking code
December 15, 2014
This tutorial will show you how to add Google Analytics tracking code in Drupal.
Drupal 7.x. How to add Google Analytics tracking code
For adding Google Analytics code we will need to install Google analytics 模块.
In order to download Google analytics 模块, please follow the 链接: Google Analytics. Right click on 焦油.gz and select Copy link address:
-
Navigate to Drupal admin panel and go to Modules > 安装 新 模块 and paste the copied link address into 安装 from a URL field, click on 安装 按钮:
-
Once the 模块 is installed click on Enable 新ly added 模块s 链接:
-
On the appeared screen look for Google Analytics and place check mark next to it, then click on Save Configuration 按钮:
-
Next, click the Configuration link from the top menu and look for Google Analytics within the 系统 section and open it. On the appeared screen you can see General Settings 选项卡, so you can set it up to your needs:
-
Enter the Web Property ID for your Google Analytic Site. You can locate this ID by vising your Google Analytics account and checking next to the site name. Once you are done with settings, click Save configuration at the bottom of the page:
Feel free to check the detailed video tutorial below: