跳到主要內容

coscup 使用 google analytic 的心得分享

之前 Rex 曾經分享了兩篇心得

線上協作的「搞定」技巧
http://people.debian.org.tw/~chihchun/2010/09/29/get-things-done-online/

COSCUP 2010 總舖師籌備經驗分享
http://people.debian.org.tw/~chihchun/2010/09/28/coscup-2010/

小弟這裡也來班門弄斧,分享一下使用 google analytic 的心得

~~~

coscup 在 2009 時,我們是採用比較舊的語法來追蹤贊助商的點擊率

coscup.org/2009/zh-tw/ 原始碼

<a href="http://www.kkbox.com.tw/" 
onclick="javascript:pageTracker._trackPageview('/adv/www.kkbox.com.tw');">
<img src="http://coscup.org/2009/zh_tw/wp-content/uploads/2009/07/kkbox.png"/>
</a>

點擊 image 之後, 就會增加這個虛擬頁面 /adv/www.kkbox.com.tw 的 PageView

~~~

在 2010 的時候,因為有太多贊助商,不想一個一個改,所以 timdream 引入了 jQuery

http://coscup.org/2010/wp-content/themes/cupertino/script.js

jQuery(function($){

       if ($('#blog-block').length) updateBlog($);

       // Link tracking
       $('.blogroll a, .sponsor').live(
               'click',
               function () {
                       _gaq.push(['_trackPageview', this.href.replace(/http:\/\/(.+)\/?$/,'/adv/2010/$1')]);
                       return true;
               }
       );

       if (/Windows.+Chrome/ig.test(navigator.userAgent)) {
               $('#mainMenu ul li a, body #content #article .bubble').css('text-shadow','none');
       }
});

~~~

今年我們將試著在 blog 引入 facebook 的機制

追蹤碼如下
<script>
FB.Event.subscribe('edge.create';, function(response) {
       _gaq.push(['_trackEvent', 'Facebook Integration', 'Like', response]);

});
</script>

timdream 也將點擊也改成為事件

https://github.com/COSCUP/coscup2011-theme/commit/22a5ea847a78f2810ce56098f689ecc158bb9179

參考資料:

利用Google Analytics追蹤網站上Facebook粉絲的數量成長 (上)
http://blog.socialnetwork.tw/2011/04/google-analyticsfacebook_15.html

利用Google Analytics追蹤網站上Facebook粉絲的數量成長 (下)
http://blog.socialnetwork.tw/2011/04/google-analyticsfacebook_16.html

利用Facebook Insights追蹤網站上的讚、分享及留言
http://epromotor.pixnet.net/blog/post/33722042

藍鯨的網站分析筆記
http://bluewhale.cc/

~~~

好的,班門弄斧至此,請不要吝嗇給我們一個讚,讓更多的朋友知道 COSCUP 喔。
有任何意見也歡迎留言,如果想要知道 COSCUP 更多籌辦的心得,也請讓我們知道,
小弟會從籌備團隊裡面,挖出心得向各位分享的,我們下次見 !!

這個網誌中的熱門文章

COSCUP 2025 Call for Participation, 議程軌與攤位即日起開放申請

Jump to English   COSCUP 2025的社群議程/攤位即日起開始接受申請,社群議程於3月22日截止申請,社群攤位於6月10號截止。請有興趣在今年與我們共襄盛舉的社群把握機會! 👉  申請加入 以下介紹如何在 COSCUP 籌辦議程軌或攤位的流程及注意事項。

Early Guide to Joining COSCUP 2025 

(Updated: Feb 13) Many people in the community are excited to find out how to participate in COSCUP 2025. We’ll share more updates soon, but here’s what we can share so far! You can join as a speaker, host a booth, organize a track, or become a sponsor. If you’re new to COSCUP, take a look at the article " COSCUP Unveiled " to learn more. Date and Location The event will take place at NTUST in Taipei, Taiwan, on a weekend in late July to early August, as usual. The planned dates for this year are August 9-10. Be a Speaker Our early bird Call for Proposals (CfP) is now opened!  If you have a presentation about open culture or open-source technology, we want to hear from you. Submitting early means you’ll hear back sooner about your proposal. Host a Booth Open-source communities can set up booths to display their work and interact with attendees. This is a great way to share your community’s projects and connect with others. Businesses that support open-source can also host a ...

COSCUP 2025 Early Bird Call for Proposals

  If you are passionate about open culture and open-source technology, no matter where you are, we welcome you to join COSCUP 2025! We designed the Early Bird Program to give you more time to prepare your talk after acceptance and to help international speakers plan their trip to Taiwan. If you prefer to organize things early, this program is just for you. We look forward to welcoming you back to COSCUP, reconnecting with the community, and sharing your valuable experiences. About COSCUP COSCUP is an annual conference organized by the Taiwanese open-source community since 2006. COSCUP aims to provide a platform to connect Open Source coders, users, and promoters while promoting FLOSS within the annual conference. The conference is free to attend and all the staff are volunteers. We had more than 3000 attendees last year, and there will be more this year. It is the biggest open-source gathering in Taiwan, and the attendees are mostly developers, some power users, and FLOSS promote...