Google Analytics 完全教程和相关工具
Smashingmagazine上看到一篇关于Google Analytics的教程文章,汇总的资源也比较多,正好最近正在研究这个,贴出来一起学习一下;原文地址
(本来准备翻译过来,翻译到一半的时候突然想到,自己最近一直刻意锻炼自己的英文阅读,那为什么还吃力不讨好地做性价比这样低的翻译工作?脑残了~)
Google Analytics 毫无疑问是最广为使用的web分析工具。诞生于Urchin软件公司开发的分析封装代码,这个工具作为广为认知的Goolge Analytics免费提供给人们使用。.2007年5月进行了比较大的改版优化,设计更加简洁的同时加入了更多功能。最近几年凭借着简单易用和很多强大的高级功能Google Analytics获得了个人站长和职业营销人员的青睐。

你或许经常使用的只是Google Analytics的一些基本功能追踪一下自己网站的基本数据,像大多数GA用户一样,很少去尝试它的进阶数据统计功能;因为你觉得那已经是你所需要的全部数据了,真的是这样么?
你知道么GA可以提供关于你的网站流量的多达85份不同的数据报表,不仅仅是用户访问数或者PV,它还可以显示哪部分内容访问最多,访客人均停留时间,那个AD引来流量最多,它能跟踪你营销的整体效果,包括AdWords,Adsense和邮件等等。
这篇文章不是包含GA的所有功能教程,只是一个比较全面的教程来引导你使用很多未被使用的功能统计,它会帮助你非常轻松地理解和使用GA的全部功能发挥出它的潜力,这很简单。
常用资源: Google Analytics 帮助中心, 官方论坛 和官方博客。
你可以对下面的文章也感兴趣
GA统计跟踪代码
GA只会统计已经添加过统计代码的页面数据,这个代码是一小段JS,你可以通过工具插件或者手动添加它,在这篇文章的末位你会看到一些添加的工具插件。
对于你想统计的页面只需要把这部分代码加到页面的bottom部分里,在body标签之前。

如何获得统计代码
- 登录Google Analytics.
- 从 Analytics Settings 页面, find the profile for which you would like to retrieve the tracking code. Please note that tracking code is profile-specific.
- From that profile’s Settings column, click Edit.
- At the top right of the Main Website Profile Information box, click Check Status.
- Your tracking code can be copied and pasted from the text box in the Instructions for adding tracking section.
控制面板和统计报表
登录Google Analytics 后就会进入统计面板, 在这里你可以看到GA产生的各项基本数据(访客,内容,流量来源),你可以自定义这个页面显示的数据,你可以通过拖拽改变它的布局。
一个对GA各个功能的简单概括,如果是第一次使用想掌握一些技巧,可以好好看看这个视频;
注:视频来自youtube,已经被河蟹,观看请翻墙。
解释一下报表的含义

Goolge提供了一系列通俗易懂的教程告诉我们如何使用这个软件,下面一一介绍。
如何分析数据和使数据形象化展示
三个数据哪里可以查到,各个数据是如何计算得出的,PV和独立PV的区别,绝对独立访问用户和新老用户的区别;
了解各种不同的网站流来那个来源,怎样分辨优质流量,怎样确认回报和转化驱动因素,在关键词报告中查找哪些信息,影响的具体效果等
如何理解和使用精华内容,内容标题,Landing page分析,导航数据分析,用户路径分析等;
有效使用GA分析流量来源,内容和导航数据,在这个视频中你会看到不同流量的来源,跟踪内容表现,分析用户导航数据;
注:同样被河蟹~
分析Flash和Flex内容
实施GA统计最常见的挑战就是跟踪Flash的统计。在过去Flash的统计并不是很好解决,必须针对每个独立的站点进行相应调整,每个开发者必须创建自己独立的机制去统计。
现在这个问题不存在了,现在的库包括:Flash视觉组件,Flash AS3库,Flex MXML组件和Flex AS3的库。
下载: Flash and Flex Analytics Tracking Libraries.
电子商务分析
GA可以针对电子商务的每一环节提供详细的数据统计,你可以很轻松地跟踪你的交易,ROI和消费者数据;
一步步加入商业统计
The first step of tracking ecommerce transactions is to enable e-commerce reporting for your website’s profile.
- Log in to your account.
- Click Edit next to the profile you’d like to enable.
- On the Profile Settings page, click edit next to Main Website Profile Information.
- Change the E-Commerce Website radio button from No to Yes.
分析目标
简单来讲,目标就是PV,没什么复杂的。你定义了一个目标,就是定义了目标对应的各个组成PV。生成你需要的统计报表衡量你的商业目标是一个很简单的事情。
一步一步创建分析目标
- Log in to your Google Analytics account at https://www.google.com/analytics/.
- Select the account that contains the profile you’ll be creating goals in from the Overview page.Find the profile for which you will be creating goals, and click ‘Edit’ under the ‘Actions’ column.
- Turn the goal ‘On’ or ‘Off.’ If you choose ‘On,’ that means you want Google Analytics should track this conversion goal at this time. Since there are no ways of deleting goals, turning it ‘Off’ can make the goal inactive.
- Select from one of the three match types that Google Analytics uses to identify the goal.
- Enter the Request URI in the Goal URL box. Reaching this page marks a successful conversion. For example, a registration confirmation page, a checkout complete page, or a thank you page.
- Enter the ‘Goal name’ as it should appear in your Google Analytics account.
- If your goal URL is case sensitive, this means your goal URLs are capitalized exactly like the visited goal URLs.
- Enter the ‘Goal value.’
作者给出10个idea,他建议设置目标要包括访客评论,社会化书签分享操作,邮件订阅,Track feed,RSS订阅等等。T
为了跟踪AdWords的ROI, 你需要知道关键词,广告的转化率,如果你现在使用GA,可以直接将目标导入到AdWords里面从而可以直接跟踪你的ROI.
常见统计报告
常见统计让你更快速地了解你需要的信息,避免被其他相关数据所淹没;你可以选择你想要知道的数据,随心所欲地展示呈现。
了解常见统计的快捷通道
你首先应该读读官方的教程,来自google 帮助。从中你可以真正地从概念上的了解转换到实际的应用把握,它会帮助你形成数据分析的一个基本概念和理解。推荐的还有 基本数据新手上路and GA词汇表
Custom Reporting in Analytics Video
Learn how to create custom reports in Google Analytics that show the information you want to see, organized in the way you want to see it.
Spotlight on Google Analytics features Custom Reporting
Conversion Room has written a great overview on custom reporting. It includes basic tutorials and how-tos.
Eyes on the Prize with Custom Reports
This is an in-depth article covering custom reporting in Analytics.
Google Analytics, Adsense and Adwords
Google Analytics has lots of tools and can generate reports that can help you with AdWords and Adsense campaigns.
Adsense Reporting in Google Analytics
If you are an AdSense publisher, you can use Google Analytics to see and perform in-depth analysis on your AdSense data.
Step-by-step guide to linking Adsense and Analytics
- Log in to AdSense (adsense.google.com).
- Click the link that says “Integrate your AdSense account with Google Analytics” on the Reports > Overview tab.
- Follow the on-screen instructions.
Campaign Tracking and AdWords Integration (Breeze Presentation)
This is an official lesson from the Google Analytics IQ Lessons series, in this presentation you will learn:
- how to track campaigns using tagged links
- how to track AdWords campaigns
- when to use autotagging and how it works
- how to enable autotagging
- where to find AdWords data in your reports
- the expected kinds of data discrepancies between AdWords and Analytics data
- when and how to manually tag URLs
- how to use the URL Builder
- best practices for tagging links
Campaign Tracking and AdWords Integration (Breeze Presentation)
Linking Adwords with Google Analytics
Linking Google AdWords and Analytics helps provide insights on keywords, ROI, visitors, and more! Learn how to easily link your accounts.
Step-by-step guide to linking AdWords and Analytics
Below you will find the simple step-by-step guide from Google Support.
- Login to your AdWords account at adwords.google.com
- Click the Analytics tab.
- If you don’t have an Analytics account, click the Continue button to sign up for one.
- If you already have an Analytics account, click I already have a Google Analytics account.
- From the Existing Google Analytics Account drop-down list, select the name of the Analytics account you’d like to link to. Can’t see it there? You’ll need to add your AdWords username to your Analytics account as an Account Admin ( Learn how).
- Keep the checkboxes selected on this page, unless you’re sure you’d like to disable auto-tagging and cost data imports.
- Click Link Account.
Google AdSense Reports in Analytics – Guide
This article gives you a basic guide to Adsense and Analytics, it covers top content, referrers, revenue, trending and revenue sharing.
Google Analytics 桌面应用
界面光影效果华丽的Polaris或许是最好的GA桌面端。使用Adobe AIR开发,从而成为跨平台的GA插件。该软件有8个标准数据统计项;

免费下载版本只只支持一个网站档案,需要支持多个升级需要一年15美元。
另一个有特色的Adobe AIR 应用,它使用自己独立的统计API与google传输数据,几乎拥有GA的所有功能。使用这个套装你可以从不同的GA帐号使用多个网站档案。你可以查看各种常用的统计项,同时也可以查看一些目标数据和数据碎片。

Dashalytics – MAC Dashboard Widget
MAC下面免费的一个widget可以迅速查看Google Analytics statistics.

Google Analytics Firefox扩展
popup的形式查看数据

开发者小工具,自动check GA代码是否在各个页面添加。

Web Analytics Solution Profiler/Debugger (WASP)
WASP provides detailed information about the data being collected from Google Analytics, through Query String and Cookies by web analytics solutions (called “tags”, “trackers” or “web bug”), ad networks, behavioural targeting and multivariate testing tools.

Grease Monkey Firefox扩展
Greasemonkey is a Firefox extension that allows you to customize the way webpages look and function. You will need this extension to run the following useful little scripts.
Google Analytics Report Enhancer
Better reports with Greasemonkey
Integrate Google Analytics with Google Docs using Greasemonkey
Keyword Trends in Google Analytics With Greasemonkey
Greasemonkey: Automatically Show All Profiles
Social Media Metrics Greasemonkey Plugin For Google Analytics
Better Google Analytics Firefox Extension
Firefox Extension with Greasemonkey Scripts for Google Analytics.
The Better Google Analytics Firefox Extension (BetterGA)
BetterGA is a compilation of the best Greasemonkey userscripts from various authors, brought together to create this feature (Auto Access, Content Search, Cleaner Profile Switching, Export to Google Docs…) rich extension. Remember and install Greasemonkey first.
Auto Access Your Google Analytics Account
Bypass the “Access Analytics” button that is displayed to you on the Google Analytics login page automatically.
Google Analytics Full Screen Reports
With this easy add-on, you can quickly expand the reporting view by hiding the left-hand navigation.
Google Analytics Advanced Date Selection
With this script, an option is added for one click access to year-over-year reports.
Include Today in the Default Google Analytics Date Range
By default, Google Analytics shows you the statistics for a 30 day period up to the previous complete day. This Greasemonkey script includes the current in all reports.
Google Analytics Table Sorter
An easy to use table sorter for your analytic reports.
Add the Digg count of your page to your Content Details
This Greasemonkey script will retrieve the Digg count of a page and display it to you on the Content Detail report of your Google Analytics (?) console.
Google Analytics Referrers
This user script adds an external link to see referrers on Google Analytics.
CMS & Website Plugins & Extensions
Silverlight Analytics
SilverlightAnalytics lets you use the power of Google Analytics within your Silverlight application. You can track web stats such as button clicks, mouse-over’s, events, page views, or anything else you might want without having to call Invoke().
Insert Google Analytics’ code – Dreamweaver Extension
This extension allows you to Insert/Update, Remove, Report the Google Analytics’ Javascript code(“urchin.js”) on any static website.
Wordpress Plugins
Google Analyticator
Google Analyticator is an easy to implement WP plugin that adds Google Analytics tracking support to all WordPress posts and pages. It comes with an easily customizable widget that can be used to display specific information from the Google Analytics API. It supports all of the tracking mechanisms that Google Analytics supports such as external link tracking, download tracking, tracking without counting administrative users, and any other advanced tracking the user wishes to add.
Google Analytics for WordPress
This useful plugin adds the ability to tag and segment all outgoing links, so you can see whether a click came from a comment or an article. It also adds the possibility to track just the domain, instead of the complete link, so you get a better view of how much traffic you’re sending where.
Dashboard Reports Plugin
Wordpress Google Analytics Reports plugin helps you to get real time live reports from Google Analytics using the data API, and viewed from the Wordpress Dashboard.
Google Analytics and Feedburner Reports Plugin
This plugin allows you to easily view quick and basic Google Analytics and Feedburner reports in your WordPress admin area. It adds a top-level Reports tab and when you click on it, you’ll get a quick 7 day overview of what’s going on with your site (pageviews, visits, referrers, etc). You’ll have to login to Google Analytics or Feedburner directly if you want more detailed stats.
Drupal Module
Google Analytics Module
This powerful and feature rich Drupal module allows you to add the following statistics features to your site: Selectively track certain users, roles and pages; Monitor what type of links are tracked (downloads, outgoing and mailto); Monitor what files are downloaded from your pages; Cache the Google Analytics code on your local server for improved page loading times; Track user segmentation from Drupal profile data; Site Search support; AdSense support.
Installing & Configuring the Google Analytics Module for Drupal 6.x from Brian Stevenson on Vimeo.
Joomla Module
Google Analytics Tracking Module
Google Analytics Tracking Module is a simple module for Joomla! 1.0.x. and Joomla! 1.5 used for inserting Google Analytics tracking code into a Joomla site via a module. This module makes it possible to add the tracking code before the closing body tag in template, which is recommended by Google.
Mobile Apps
Analytics App for iPhone and iPod Touch
myAnalytics – Google Analytics on the iPhone
Mobile GA for Android
Mobile GA for Android is a secure, fast and lightweight application for accessing your Google Analytics data. The app is intended to help you keep an eye on your key summary statistics while you’re on the move. The price for this app is only $2.99.
Google Analytics Tips and Ideas 这部分是关键
The Google Analytics: Power User Guide
This guide is a compilation of VKI’s Google Analytics: Power User series, presenting an overview of several key features and uses of Google analytics—some basic, some advanced—and how you can use these features to analyze, interpret, and optimize your websites traffic. Also available as PDF.
Google Analytics Tips You Should Know AboutA round-up of six useful resources, with some of the handiest Google Analytics tips out there, starting from the simplest and moving on to trickier stuff.
50 Resources for Getting the Most Out of Google Analytics
Google Analytics is a very useful free tool for tracking site statistics. For most users, however, it never becomes more than just a pretty interface with interesting graphs. The resources below will help anyone, from the beginner to those who have been using Google Analytics for some time, learn how to get the most out of this great tool.
The Huge Collection of Google Analytics Tips
“I’ve been compiling the list of advanced Google Analytics tips that open up plenty of possibilities to track and evaluate.”
Youtube Channel
The official channel for all videos about and related to Google Analytics. 13 videos at this time.
Advanced use of Google Analytics and the new interface
Since Google Analytics was launched in 2005 it has become one of the top analytics packages for small to medium sized websites. Growth was initially slow due to the frustrating waiting list system initiated by Google to avoid over stretching their servers. Now that the waiting list has been removed anybody can sign up to use this great service.
8 Awesome Google Analytics Hacks, Tips and Tricks
There are a lot of things you need to tinker with in order to get some of the data you need from it.
5 Lesser Known Google Analytics Features
Google Analytics is a great program that can do a lot more than most people realize. Here are a few features that you may not know about.
Measure Online Advertising with Google Analytics
Google Analytics is a free web analytics application that is quickly becoming one of the most widely used web analytics tools around. A common misconception that many people have is that GA can only be used to track Google AdWords. That’s simply not true. GA can be used to track any online marketing activity.
Forcing Google analytics to show real time data
So here is how you can get real-time data from Google analytics.
Twitter and Google Analytics: What to Track
By default, traffic from Twitter will be tracked as referral traffic in Google Analytics. A better way to track a Twitter campaign would be to use GA’s campaign tracking feature.
Tracking Email with Google Analytics
Tracking email campaigns in Google Analytics is done using a process called link tagging. This process is the manipulation of the links in your emails.
PPC Management: AdWords Keyword Data Exposed With Google Analytics
You CAN expose your specific AdWords Keyword Data beyond the dreaded “other unique queries” in the AdWords Search Query Report with Google Analytics.
Speed Up Google Analytics
“Last year I wrote about hosting Google Analytics urchin.js file on your own server, to speed up the loading of your site. Well, google has migrated to a new analytics javascript, ga.js. You can read the urchin.js to ga.js migration guide if you want. They also wrote about the changes on the Google Analytics Blog. And if you want to learn about advanced features of ga.js check out this Google Analytics Documentation.”
Some Basic Setup Tips
Get you more effectively using your Google Analytics account.
Optimize Form Length with Input Analysis
In this post, I will share with you E-Nor’s technique in determining the forms fields that people are most likely not to complete. I will show you how to make this data available to decision makers and web optimizers so they are able to make the necessary changes.
Keyword Trends With Google Analytics and Greasemonkey
Google Analytics Reporting Suite
The Google Analytics Reporting Suite brings Google Analytics to the desktop, with a host of features that help you understand how your website is performing and where you can improve. From tracking your visitors, referrals and campaigns to viewing your AdWords ROI metrics, the Google Analytics Reporting suite is a must-have for every web business.
Articles, Tutorials and Tools
Introduction to Google Analytics
A screencast by Chris Coyier.
Forcing Google analytics to show real time data
Google Analytics generally updates your reports every 24 hours. This means that it could take 24 hours for data to appear in your account after you have first installed the tracking code. Learn how you can get real time data from Google Analytics.
Measure Online Advertising with Google Analytics
A common misconception that many people have is that GA can only be used to track Google AdWords. That’s simply not true. GA can be used to track any online marketing activity. And not only will Google Analytics track online marketing, it will also identify the conversion events that your online marketing creates.
5 Lesser Known Google Analytics Features
Google Analytics is a great program that can do a lot more than most people realize. Here are a few features that you may not know about.
The Ultimate Web Analytics Data Reconciliation Checklist
SiteScan
It may take some time to check the correct and complete code integration manually. This service helps you to check the correctness of the code snippet automatically.
No Google Analytics API? No Problem!
Learn how to read and use data, e.g. for the block with “Most Popular Posts”.
How to track Social Media Users with Google Analytics
One of the questions we are often asked is how we track various social media sites users and their interaction with sites the answer is in a variety of ways but here is just one of the techniques we use with Google Analytics.
Tracking regional Search Engines in Google Analytics
Google Analytics recognises 41 search engines by default. Although this is constantly being added to, there are of course a great many other search engines in the world – language and region specific, as well as price comparison and vertical portals.
Adding Business Data to Google Analytics Data
“We tried using Google Spreadsheets to store business info but it never worked. People did not take the time to open up a spreadsheet and add information. We figured that adding some type of ‘note’ functionality to GA would be the easiest way to change this behavior. That’s how GA Notes was born.”
How to Get Detailed PPC Keyword Data from Google Analytics
A new filter that shows exactly the Search Term (i.e. keywords that are searched on) rather than just the Bid Term (i.e. the keywords that triggered a PPC advert).
Google Analytics E-Commerce Tracking
This series of article has 4 parts: 1 | 2 | 3 | 4
Blogs about Google Analytics
The official Google Analytics Blog
Advanced Web Metrics
A blog of Brian Clifton’s blog about analytics, with many useful tips and ideas.
Google Analytics Results
A Google Analytics blog written by the company Mangold Sengers.
Luna Metrics Blog
A blog of an Internet consulting firm that specializes in configuring and evaluating Google Analytics.
Analytics Talk
Justin Cutroni’s blog about Google Analytics.
And finally…
Google Analytics may be lying to you, even though it tells the truth — simply because you’re not telling it how to track your site effectively. Are you guilty of any of the following?
- Are those really your conversion rates?
- Do customers actually find your site using that keyword?
- Are you sure that Digg story sent you all that traffic?
If you are, you may want to read this article: 8 Stupid Things Webmasters do to mess up their analytics.
















Thats great stuff you have got here. Have been searching for details on this all around. good blog