跳到主要內容

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 更多籌辦的心得,也請讓我們知道,
小弟會從籌備團隊裡面,挖出心得向各位分享的,我們下次見 !!

這個網誌中的熱門文章

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 Call for Participation, 議程軌與攤位即日起開放申請

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

COSCUP 2025 Call for Proposals / 徵稿辦法

COSCUP 一如往常,接受任何與開放文化與開源技術相關的演講提案。請於 05 月 10 日(AoE) 前投稿,徵稿主題可參考下方列表。 As always, COSCUP welcomes any talk proposals related to open culture and open source technologies. Please submit your proposal by May 10 (AoE). You may refer to the topic list below for inspiration. 開始投稿 Submit Your Proposal 提案須知 Things you may need to know 演講形式:預設為現場30分鐘演講包含QA,若有其他需求可於提案系統註明,由各主題主辦單位決定如何安排。 Talk Format : The default format is a 30-minute on-site talk, including Q&A. If you have other requirements, please indicate them while submitting your proposal. The final arrangement will be decided independently by the organizers of each topic. 語言:COSCUP 受眾包含海內外與會者,大會不限制發表語言但鼓勵以英語發表。大會將公布雙語議程表,請提供中英文版議程介紹。 Language : There are no restrictions on the language of presentation,   講者須知:一旦提案獲錄取並確認,提案者即同意遵守相關 講者約定 。 Speaker Aggrement : Once a proposal is accepted and confirmed, the speaker agrees to abide by the speaker agreements . 早鳥徵稿參與者:您先前...