15:39 Upcoming feature deprecation: built-in forums, docmanager, task manager « SourceForge.net: Project sourceforge » Delicious/chedong
* TaskManager will be replaced by TaskFreak!, dotProject and Trac (tickets). * DocManager will be replaced by MediaWiki and Trac (wiki). * Discussion Forums will be replaced by phpBB. * Diary and Notes will be replaced by WordPress.
13:01 How to Setup Goals in Google Analytics » Google Analytics Blog
In this post, we'll explain what Goals are in Google Analytics, why they're useful, and how to set them up. Let us make two assumptions before we start. First, you know the rules of basketball, and second, you are a Lakers fan (or at least you know who the Lakers are).

Note that if you run an ecommerce site, Google Analytics has additional features to help you track purchases. For more information on this, check out how to configure ecommerce tracking.

Understanding Goals in Google Analytics


Goals (with a capital G) are a way to measure business objectives for your website in Google Analytics. Goals must correspond to a measurable action performed by your website's visitors, for example, a visit to a "thank you" page. This combination of a business objective and a measurable action make up a Goal. Here are some common examples.

Business Objective
Visitor Action
Success Measure
Generate Leads
Complete Contact Formform_submitted.html
Drive Loyalty
Sign up for Newsletter
subscription_confirmed.html
Drive Revenue
Complete a Purchasethankyou.html
Raise Awareness Whitepaper Download
download_redirect.html

To use a real world example, the Lakers objective is to win games, and the measurable action is scoring baskets. Keeping this goal in mind helps the team focus on winning and not worry about things that don't matter -- like the number of times the team is photographed or their average height. Goals serve this same purpose in Google Analytics.

Understanding the Goal Funnel

Usually the visitor action that's associated with a goal involves multiple steps. Together these steps make up the Goal Funnel, or the sequence of steps that lead up to the successful completion of a Goal. Like the Goal itself, each of these steps must correspond to a measurable action, such as a pageview of a specific page.

Here's a real world example. Let's assume that Phil Jackson, the Lakers head coach, wants to score more baskets using a specific play. The path for that play is as follows: Kobe Bryant passes the ball to Derek Fisher, Derek Fisher passed the ball to Pau Gasol, and then Pau Gasol scores.



In this example, the Goal is scoring a basket and the Goal Funnel is Kobe > Derek > Pau. The ball moves from player to player until either Pau scores (Goal completed) or they lose the ball (Goal abandoned).

Now pretend the Lakers players are pages on a website and the ball is the website visitor. From now on we will look at the players as the following:
How to set up a Goal and Funnel:

Step 1) Define your Goal Funnel

Navigate to your website, and move through through the steps required to complete your Goal. As you navigate, note down the URLs for each page in the sequence (or take screenshots).

If the sequence includes only one step (the Goal) than you don't need to define a funnel at all. If the sequence includes events other than pageviews (such as clicks), you will need to use virtual pageviews or another method beyond the scope of this tutorial.

In our Lakers example, the funnel is defined as:

Another example might be:

  1. start_registration.html
  2. enter_shipping_info.html
  3. enter_subscriber_preferences.html
  4. finalize_registration.html
  5. thank_you.html

Step 2) Configure Goal Settings for Each Profile

Log in to your Google Analytics account and then click "Edit" beside your profile. You will need to configure goals for each profile you want them to show up in.

Go to Conversion Goals and Funnel and click "Edit"



Set "Active Goal" to "On"



Set "Match Type" to to either "Exact Match," "Head Match," or "Regular Expression Match." In our example, we chose "Exact Match," because there is only one exact URL for our Goal page "point.html."

If you have multiple Goal pages, or multiple pages for one of the steps leading up to the goal, you might need to use a different match type. For more information about the difference between Head, Exact, and Regular Expression match, visit this Help Center article.

If your Goal has a specific dollar value, be sure to enter it under "Goal Value". You may need to look at your financial data to determine how much a Goal completion is worth to you.

Step 3) Define Your Goal Funnel

Enter the URL and a meaningful name for each step in your funnel. In our example the Goal URL is "/point.html" and the name we gave it is "Point." If you only have one step (the Goal) than you don't need to complete this section.



Step 4) Wait a Few Days and Analyze your Goal Performance

Your Goals will not work backwards, so you will need to wait for Goal data to appear in your reports. Once you have data to analyze, navigate to the Goals section and open the Funnel Visualization Report.

Now we can analyze the entire goal funnel or just an individual page.



This report shows

Looking across the entire Funnel, it looks like Kobe Bryant is not doing a great job getting the ball to Derek Fisher, so the team should consider working on that part of the play. Derek's doing a great job getting the ball to Pau, so he'll get some more playing time. Overall, the play leads to a basket 15% of the time, which is below the average for the team, so Phil might consider scrapping this play for a new one (site redesign anyone?).

Summary

So there you have it. Goals and Funnels in Google Analytics let you see how well your website is living up to your business objectives. They also help you identify specific areas of your website to improve on. Overall, they're a crucial element in a successful web strategy.
Other Resources

Still have questions? Get help at the Google Analytics help forum. Or, leave a comment and let us know how you use goals.

Posted by Sebastian Tonkin, Google Analytics Team, and Allaedin Ezzedin of E-Nor, a Google Analytics Authorized Consultant
07:40 戈壁挑战赛 - 第四天 - 走向光明 » 刘润

“当拖着疲惫的身躯撞线那一刻,一种巨大的成功喜悦淹没了沿途所有的痛苦与彷徨,这就是超越!” - “玄奘之路”队员 朱清源

早上4点起床。虽然极度疲惫后我只睡了5个小时,身体还是很酸痛,但是感觉体能恢复不少。看着凌晨4点满营的伤员拖着不属于自己的腿收拾睡袋、帐篷、行李,但是信心绝对不亚于第一天。“先到的先洗澡”,这个简单的愿望,让大家充满希望。

我,和所有的人,披着朝阳,在风车的鼓舞下,出发,走向光明。

受伤,没关系,休息休息,可以继续。

也许是今天路程最轻松,也许是因为要冲刺最后成绩,也许是因为先到先洗澡的承诺,虽然今天酷暑难当,又要翻山越岭,景色枯燥,但是大家的速度,明显高于昨天。

经过无比漫长的7小时,我终于靠自己的双脚走到了重点。那一刻,我很自豪,真的:我做到了。

身上的伤和脏,已经完全不重要了。从黄土里捡起黄瓜,用戴了四天的手套拍两下就几口吃完。三晚无法洗澡、无法洗脸、无法刷牙,大家请良子的老板派一个足疗队来,3000元按一次都一定会排队到第二天早上。走完四天之后,我才发现,我的手不知道什么时候破了,血早已包着沙子凝固了。

这几天,我无数次的被感动。

有一个商学院的同学,没有通过商学院自己的预选赛,直接把钱汇过来一定要参加。组委会把钱退回去,他说他要自己飞过来,不管算不算队员,一定要跟着走。体能师只好用对讲机互相通报,除了打卡之外,有可能中途走多出两个人。

新加坡国立大学的团队精神让我无比感动。我第三天脚踝扭伤,一个人走的话,我相信我一定无法走到终点。于是我跟着新国大一起前行。这个团队有三个伤员,只有一个目标,就是全队到达终点。队长和院长在13小时的行进中不抛弃、不放弃,感动了我,感动了他们自己,感动了所有在终点的守候的各个商学院的同学。

有一段我和长江商学院的一个女同学正好同路。她说她以前从来不怎么锻炼,但是,走完全程是对自己的一个承诺。她说,她的同学们,大部分做的很不错,其实就是因为那么一股认真劲儿。她坚持不懈别走别跑,最后得到了女子组第一名。

我最钦佩的是一个上海交大的兄弟。第一天比赛,因为中间检查点没有打卡记录成绩作废。第二天脚踝扭伤,最后六公里,拄着杖子,就靠一条腿跳回了营地,超时,没有成绩。第三天比赛,23.6公里直线距离,翻山越岭,他拄着杖子又跳了8公里。体能师劝他放弃,说否则另一条腿也会废掉。他说,只要在达到终点之前不残我就要走到底。走完剩下的对我来说比赚100万更重要。直到赛事关门时间,他还没走到终点,被架上收容车的时候,整个人像泥一样瘫倒。

晚宴上,250名商学院同学,看着这几天摄影师抓拍的照片,不分界限,都和生死兄弟一样,往死里喝酒。是的,这是一生一次的经历。我很确定,他们中间的不少人,会和往届一样,把自己的整个公司带来再走一次戈壁。

四天结束了。我为自己没有放弃而自豪。谢谢为我担心的朋友。谢谢你,商学院戈壁挑战赛!朱清源说的好:

当拖着疲惫的身躯撞线那一刻,一种巨大的成功喜悦淹没了沿途所有的痛苦与彷徨,这就是超越!

六分钟八法则塑造优秀程序员译言-每日精品译文推荐 » 车东's shared items in Google Reader
Shared by LaiYonghao
我曾经推荐过这篇文章的英文版,棒。
译者:zhaorui

还记得那个叫做 Justice Gray 的人么?他曾经试图在六个月的时间里面成为更好的程序员,这种做法似乎成为了一种众人追捧的时尚

然而很长一段时间过去之后,其中的大部分人并没有如愿以偿的成为好的程序员。

这里提供给大家一个简单的解决方案,有一些方法可以让你在六分钟之内成为更优秀的程序员。

你有六分钟的闲暇时光,对么?

我们一起来吧!

 

1. 使用更大的显示字体

这个办法看上去非常简单,但是的确很有效果。

打开你最喜欢的那个编程工具,将代码编辑器中的字体调大。我把 10pt 的代码显示字体增大到 14pt,这样一来,你的屏幕上一次只能显示出少量的代码。

结果:你被迫去写一些更为短小精炼的函数,这无疑是一个好的趋势。

Scott Hanselman 也推崇这样的做法)

 

2. 让代码中的硬编码字符串部分显示变得刺眼

我是从 Joe Cooney 那里学到这种办法。

在你最熟悉的那个编程工具中将代码编辑器中的字符串设置为更加显眼的格式——比如,红色字符黄色背景。让那些字符串显得非常丑陋、刺眼。这将使你在代码中下意识的少写一些硬编码字符串,并且时刻注意代码中嵌入的字符串。

 

3. 找出一个“模糊”的关键字,通过学习熟练掌握

你是否明白 "yield" 关键字的作用? 还有什么关键字是你从来没有使用过的么?

编程语言中每一个关键字都有其特殊的用途。学习并掌握这些“神秘”的陌生关键字可以使你的编程能力变得异常强大。

这里有一些 .NET 平台不同语言的关键字列表: C#, VB.net, F#.

 

4. 提高1%的测试代码覆盖率

不要为了追求 100% 的自动化单元测试代码覆盖率而焦头烂额,但是不妨花费一些时间将你的测试代码覆盖率提高一个百分点。

有可能对你来说,这就是从 0% 到 1% 的过程,然而这已经是一个巨大的进步。

代码中复杂的正则表达式或者重要的业务逻辑必需要有单元测试来确保正确无误。

 

5. 阅读一些开源项目的源代码

当我看到一段完全陌生的代码的时候,通常会有一种奇怪的感觉:似乎是溜进了邻居家的屋子,并且窥视他们家冰箱里面的物品。

我们需要慢慢适应这样的情绪,并且从他人的代码中学习。

也许你可以从这个 Hanselman's Weekly Source Code 系列开始。

 

6. 使用静态代码分析工具来检查自己的代码

你可以使用 fxcop, 或者 StyleCopclone detectivendepend、 Visual Studio 2008 附带的 code metrics feature, 或者其他自选的静态代码分析工具。

使用这些工具可以发现隐匿在你的代码深处的缺陷。哪怕仅仅是瞥一眼分析结果,也可以让你发现自己的代码还存在很多可以改进的地方。

 

7. 找出有“坏味道”的代码进行重构

其实你自己心理清楚那些“坏味道”在哪里——就是你羞于承认,看上去很可怕,又臭又长,同时对整个应用非常重要的代码。

你不必把那些朽木雕琢成钻石,但是可以把他们变得稍微干净一些——重新命名一些变量,或者将其中的一部分代码独立出来,从简单的操作开始,小心翼翼逐步推进。

 

8. 停止阅读,开始编码

不要仅仅是写那些简单重复的代码,写一个编译器吧!

这篇 ol 写的 MSDN上 的文章 是一个非常好的起点。Joel Pobar 将指导你在短时间内写出一个属于自己的语言的编译器。

 

以上这些就是成为优秀程序员的方法,你明白了么?

有什么方法可以在六分钟之内完成,并且帮助你成为更优秀的程序员么?

添加评论


00:29 百度在进步[贴图] » lu's space: Blog

^==Back Home: www.chedong.com

^==Back Digest Home: www.chedong.com/digest/

<== 2009-05-18
  五月 2009  
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
==> 2009-05-20