<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Kevin Deldycke &#187; Google</title> <atom:link href="http://kevin.deldycke.com/tag/google/feed/" rel="self" type="application/rss+xml" /><link>http://kevin.deldycke.com</link> <description>Free software engineer &#38; wannabe videomaker</description> <lastBuildDate>Fri, 03 Feb 2012 19:08:27 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Increase Dropbox free capacity with Google AdWords</title><link>http://kevin.deldycke.com/2011/12/increase-dropbox-free-capacity-google-adwords/</link> <comments>http://kevin.deldycke.com/2011/12/increase-dropbox-free-capacity-google-adwords/#comments</comments> <pubDate>Tue, 20 Dec 2011 11:00:12 +0000</pubDate> <dc:creator>Kev</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[adwords]]></category> <category><![CDATA[coupons]]></category> <category><![CDATA[dropbox]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[Kfilebox]]></category> <category><![CDATA[kubuntu]]></category><guid isPermaLink="false">http://kevin.deldycke.com/?p=4187</guid> <description><![CDATA[I started to use Dropbox 6 months ago at work, but I only use it for personal files since November. Now that I seamlessly integrated it on my Kubuntu thanks to Kfilebox, it quickly became clear that Dropbox will potentially &#8230; <a href="http://kevin.deldycke.com/2011/12/increase-dropbox-free-capacity-google-adwords/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I started to use Dropbox 6 months ago at work, but I only use it for personal files since November. Now that I seamlessly integrated it on my Kubuntu thanks to <a href="http://kdropbox.deuteros.es">Kfilebox</a>, it quickly became clear that Dropbox will potentially be part of my everyday computer life. But before definitely integrate an external dependency to my workflow, I had to test Dropbox further, which requires me to go beyond the default 2Go account.</p><p>To maximize the free storage capacity of my account, I <a href="http://dropbox.com/gs">completed all the basic installation steps</a> (earned me 250 Mb), then I <a href="http://dropbox.com/free">connected my Dropbox account with Twitter</a> to get 500 Mb. I could have got more free space if I had a Facebook account or was a <a href="http://dropbox.com/edu">student</a>.</p><p>What&#8217;s left to enlarge your capacity is <a href="http://dropbox.com/account#referrals">referrals</a>. To speed up this process, and following the <a href="http://vladik.rikhter.org/2011/09/22/maxing-out-your-dropbox-referrals-how-i-got-16gb-for-less-than-10/">steps of others</a>, I setup an AdWords campaign (all of this triggered by a <a href="http://news.ycombinator.com/item?id=3126173">post on Hacker News</a>).</p><p>I only targeted the French audience because I feared the HN post would have temporarily inflated the cost of English keywords. Here are the daily stats of my campaign:</p><p><a href="http://kevin.deldycke.com/wp-content/uploads/2011/12/dropbox-adwords-campaign-daily-stats.png"><img src="http://kevin.deldycke.com/wp-content/uploads/2011/12/dropbox-adwords-campaign-daily-stats-300x268.png" alt="" title="dropbox-adwords-campaign-daily-stats" width="300" height="268" class="aligncenter size-medium wp-image-4190" /></a></p><p>And here are the ads I created:</p><p><a href="http://kevin.deldycke.com/wp-content/uploads/2011/12/dropbox-adwords-campaign-text-ads-details.png"><img src="http://kevin.deldycke.com/wp-content/uploads/2011/12/dropbox-adwords-campaign-text-ads-details-264x300.png" alt="" title="dropbox-adwords-campaign-text-ads-details" width="264" height="300" class="aligncenter size-medium wp-image-4191" /></a></p><p>The paused ads above are those which didn&#8217;t invited the user to install the Dropbox desktop client. And the latter action is absolutely required to unlock the bonus capacity.</p><p><a href="http://kevin.deldycke.com/wp-content/uploads/2011/12/dropbox-referrals.png"><img src="http://kevin.deldycke.com/wp-content/uploads/2011/12/dropbox-referrals-300x240.png" alt="" title="dropbox-referrals" width="300" height="240" class="aligncenter size-medium wp-image-4196" /></a></p><p>And if your interested in all the details involved, here is a <a href="http://kevin.deldycke.com/wp-content/uploads/2011/12/dropbox-adwords-campaign-keyword-report.pdf">keyword report</a>.</p><p>At the end it costs me 31.77€ to get 8Go of additional Dropbox capacity trough referrals:</p><p><a href="http://kevin.deldycke.com/wp-content/uploads/2011/12/dropbox-adwords-campaign-france-report.png"><img src="http://kevin.deldycke.com/wp-content/uploads/2011/12/dropbox-adwords-campaign-france-report-300x27.png" alt="" title="dropbox-adwords-campaign-france-report" width="300" height="27" class="aligncenter size-medium wp-image-4192" /></a></p><p>That&#8217;s not cheap, but was a fun hack and a great excuse to learn how to use Google AdWords. And next time I know what I&#8217;ll do with <a href="http://kevin.deldycke.com/2009/12/deux-bons-50-euros-offerts-google-adwords/">those</a> <a href="http://kevin.deldycke.com/2010/02/google-adwords-bon-reduction-75-euros-offert/">AdWords coupons</a> I <a href="http://kevin.deldycke.com/2010/10/75-euros-de-publicite-offerte-sur-google-adword/">regularly give away</a>&#8230; <img src='http://kevin.deldycke.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://kevin.deldycke.com/2011/12/increase-dropbox-free-capacity-google-adwords/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>75€ de publicité offerte sur Google AdWord</title><link>http://kevin.deldycke.com/2010/10/75-euros-de-publicite-offerte-sur-google-adword/</link> <comments>http://kevin.deldycke.com/2010/10/75-euros-de-publicite-offerte-sur-google-adword/#comments</comments> <pubDate>Sat, 30 Oct 2010 14:13:36 +0000</pubDate> <dc:creator>Kev</dc:creator> <category><![CDATA[Français]]></category> <category><![CDATA[adwords]]></category> <category><![CDATA[bon de reduction]]></category> <category><![CDATA[coupon]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[promo]]></category> <category><![CDATA[publicite]]></category> <category><![CDATA[voucher]]></category> <category><![CDATA[Web]]></category><guid isPermaLink="false">http://kevin.deldycke.com/?p=2240</guid> <description><![CDATA[Meme chose qu&#8217;il y a 9 mois, j&#8217;ai reçu un bon d&#8217;achat de 75€ de pub pour AdWords. Ayant déjà bénéficié d&#8217;une offre similaire, je ne peux pas l&#8217;utiliser. Je transmet donc le code donnant droit à cette réduction à &#8230; <a href="http://kevin.deldycke.com/2010/10/75-euros-de-publicite-offerte-sur-google-adword/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a href="http://kevin.deldycke.com/2010/02/google-adwords-bon-reduction-75-euros-offert/">Meme chose</a> qu&#8217;il y a 9 mois, j&#8217;ai reçu un bon d&#8217;achat de 75€ de pub pour <a href="http://www.google.fr/AdWord">AdWords</a>.</p><p><a href="http://kevin.deldycke.com/wp-content/uploads/2010/10/coupon.png"><img src="http://kevin.deldycke.com/wp-content/uploads/2010/10/coupon-300x297.png" alt="" title="coupon" width="300" height="297" class="aligncenter size-medium wp-image-2241" /></a></p><p>Ayant déjà bénéficié d&#8217;une offre similaire, je ne peux pas l&#8217;utiliser. Je transmet donc le code donnant droit à cette réduction à la première personne qui m&#8217;en fait la demande. Déposez simplement un commentaire sous cet article sans oublier d&#8217;indiquer votre mail.</p><p>A noter qu&#8217;après le 15 Novembre 2010, la valeur de ce coupon tombe à 50€, et reste valable jusqu&#8217;au 31 Décembre 2010.</p> ]]></content:encoded> <wfw:commentRss>http://kevin.deldycke.com/2010/10/75-euros-de-publicite-offerte-sur-google-adword/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Feeds updated !</title><link>http://kevin.deldycke.com/2010/05/feeds-updated/</link> <comments>http://kevin.deldycke.com/2010/05/feeds-updated/#comments</comments> <pubDate>Tue, 18 May 2010 10:45:29 +0000</pubDate> <dc:creator>Kev</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[Aggregator]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[Atom]]></category> <category><![CDATA[feed]]></category> <category><![CDATA[FeedBurner]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[RSS]]></category> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://kevin.deldycke.com/?p=1459</guid> <description><![CDATA[Last night I&#8217;ve changed the way my feeds are handled on this blog. I&#8217;ve taken care of all redirections with a mix of WordPress plugins, Apache&#8217;s 301 redirects and Feedburner&#8217;s &#8220;My Brand&#8221; service. So everything should be transparent from your &#8230; <a href="http://kevin.deldycke.com/2010/05/feeds-updated/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a href="http://kevin.deldycke.com/wp-content/uploads/2010/05/Newspaper-Feed.png"><img src="http://kevin.deldycke.com/wp-content/uploads/2010/05/Newspaper-Feed-150x150.png" alt="" title="Newspaper-Feed" width="150" height="150" class="alignright size-thumbnail wp-image-1463" /></a> Last night I&#8217;ve changed the way my feeds are handled on this blog. I&#8217;ve taken care of all redirections with a mix of <a href="http://www.google.com/support/feedburner/bin/answer.py?answer=78483">WordPress plugins</a>, <a href="http://kevin.deldycke.com/2007/05/feedburner-and-e107-integration/">Apache&#8217;s 301 redirects</a> and <a href="http://www.google.com/support/feedburner/bin/answer.py?answer=79590">Feedburner&#8217;s &#8220;My Brand&#8221; service</a>. So everything should be transparent from your (and your feed reader) point of you.</p><p>But since this <a href="http://kevin.deldycke.com/2009/09/moving-wordpress-blog-to-another-domain/">blog moved</a> from one location to another in the last past years, I doubt everyone use the right URLs. This update is a good opportunity to check that you are using the &#8220;official&#8221; feed URLs:</p><ul><li>For blog posts: <a href="http://kevin.deldycke.com/feed">http://kevin.deldycke.com/feed</a></li><li>For blog comments: <a href="http://kevin.deldycke.com/comments/feed">http://kevin.deldycke.com/comments/feed</a></li></ul><p>In the future, I plan to support these URLs only. So please update your feed aggregation settings ! <img src='http://kevin.deldycke.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://kevin.deldycke.com/2010/05/feeds-updated/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Google AdWords: bon de réduction de 75€ offert !</title><link>http://kevin.deldycke.com/2010/02/google-adwords-bon-reduction-75-euros-offert/</link> <comments>http://kevin.deldycke.com/2010/02/google-adwords-bon-reduction-75-euros-offert/#comments</comments> <pubDate>Sat, 06 Feb 2010 17:07:57 +0000</pubDate> <dc:creator>Kev</dc:creator> <category><![CDATA[Français]]></category> <category><![CDATA[adwords]]></category> <category><![CDATA[bon de reduction]]></category> <category><![CDATA[France]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[publicite]]></category> <category><![CDATA[voucher]]></category> <category><![CDATA[Web]]></category><guid isPermaLink="false">http://kevin.deldycke.com/?p=1046</guid> <description><![CDATA[On dirait que Google cherche à promouvoir agressivement en France AdWords, son service de régie publicitaire en ligne. Après avoir eu entre les mains plusieurs bons de réductions (100 euros et 50 euros) ces derniers mois, j&#8217;ai reçu aujourd&#8217;hui par &#8230; <a href="http://kevin.deldycke.com/2010/02/google-adwords-bon-reduction-75-euros-offert/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a href="http://kevin.deldycke.com/wp-content/uploads/2010/02/google-ad-words-75-euros-coupon.jpg"><img src="http://kevin.deldycke.com/wp-content/uploads/2010/02/google-ad-words-75-euros-coupon-150x150.jpg" alt="" title="google-ad-words-75-euros-coupon" width="150" height="150" class="alignleft size-thumbnail wp-image-1055" /></a> On dirait que Google cherche à promouvoir agressivement en France <a href="http://www.google.fr/AdWord">AdWords</a>, son service de régie publicitaire en ligne. Après avoir eu entre les mains plusieurs bons de réductions (<a href="http://twitter.com/kdeldycke/status/3169290268">100 euros</a> et <a href="http://kevin.deldycke.com/2009/12/deux-bons-50-euros-offerts-google-adwords/">50 euros</a>) ces derniers mois, j&#8217;ai reçu aujourd&#8217;hui par courrier un bon de 75 euros.</p><p>Malheureusement, je ne peux pas l&#8217;utiliser car j&#8217;ai déjà un compte AdWords. En effet, le bon en question n&#8217;est valable que pour les compte AdWords créés il y a moins de 14 jours (et dont l&#8217;adresse de facturation est située en France). J&#8217;offre donc ce bon d&#8217;achat au premier qui m&#8217;en fait la demande sous la forme d&#8217;un commentaire (n&#8217;oubliez pas de renseigner votre adresse mail).</p><p>A noter que ce crédit promotionnel garde sa valeur de 75€ jusqu&#8217;au 28 février 2010. Passé cette date, le bon reprends une valeur nominale de 50€, et expire définitivement le 31 mars 2010.</p> ]]></content:encoded> <wfw:commentRss>http://kevin.deldycke.com/2010/02/google-adwords-bon-reduction-75-euros-offert/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>2 bons de 50€ offerts pour Google AdWords</title><link>http://kevin.deldycke.com/2009/12/deux-bons-50-euros-offerts-google-adwords/</link> <comments>http://kevin.deldycke.com/2009/12/deux-bons-50-euros-offerts-google-adwords/#comments</comments> <pubDate>Tue, 01 Dec 2009 05:40:59 +0000</pubDate> <dc:creator>Kev</dc:creator> <category><![CDATA[Français]]></category> <category><![CDATA[adwords]]></category> <category><![CDATA[bon de reduction]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[pub]]></category> <category><![CDATA[publicite]]></category> <category><![CDATA[voucher]]></category> <category><![CDATA[Web]]></category><guid isPermaLink="false">http://kevin.deldycke.com/?p=902</guid> <description><![CDATA[J&#8217;ai deux bons d&#8217;achats de 50€ pour le service Google AdWords. Ca traînent sur mon bureau depuis plusieurs semaines, et je ne peux pas les utiliser car j&#8217;ai déjà profité cette année d&#8217;une offre similaire. Voilà pourquoi j&#8217;en offre aux &#8230; <a href="http://kevin.deldycke.com/2009/12/deux-bons-50-euros-offerts-google-adwords/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a href="http://kevin.deldycke.com/wp-content/uploads/2009/12/google-adwords-50-euros-voucher.jpg"><img src="http://kevin.deldycke.com/wp-content/uploads/2009/12/google-adwords-50-euros-voucher-150x150.jpg" alt="google-adwords-50-euros-voucher" title="google-adwords-50-euros-voucher" width="150" height="150" class="alignleft size-thumbnail wp-image-904" /></a> J&#8217;ai deux bons d&#8217;achats de 50€ pour le service <a href="http://fr.wikipedia.org/wiki/AdWords">Google AdWords</a>. Ca traînent sur mon bureau depuis plusieurs semaines, et je ne peux pas les utiliser car j&#8217;ai <a href="http://twitter.com/kdeldycke/status/3169290268">déjà profité cette année d&#8217;une offre similaire</a>. Voilà pourquoi j&#8217;en offre aux deux premières personnes qui laissent un commentaire sous ce post.</p><p>D&#8217;après la brochure, ces bons ne sont utilisables que si les conditions suivantes sont réunies:</p><ol><li>le <a href="http://www.google.fr/AdWord">compte AdWords</a> à été créé il y a moins de 14 jours,</li><li>l&#8217;adresse de facturation associée au compte est localisée en France,</li><li>le bon d&#8217;achat est utilisé avant le 31 décembre 2009.</li></ol><p>Ca fait beaucoup de conditions donc je doute que les gens se bousculent, d&#8217;autant plus que je suis loin d&#8217;être le seul en France à recevoir ce genre de pub&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://kevin.deldycke.com/2009/12/deux-bons-50-euros-offerts-google-adwords/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Google Apps&#8217; video chat comes with secure Gmail sessions</title><link>http://kevin.deldycke.com/2008/11/google-apps-video-chat-comes-with-secure-gmail-sessions/</link> <comments>http://kevin.deldycke.com/2008/11/google-apps-video-chat-comes-with-secure-gmail-sessions/#comments</comments> <pubDate>Tue, 18 Nov 2008 17:07:51 +0000</pubDate> <dc:creator>Kev</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[chat]]></category> <category><![CDATA[gmail]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[google apps]]></category> <category><![CDATA[h264]]></category> <category><![CDATA[https]]></category> <category><![CDATA[Jingle]]></category> <category><![CDATA[mail]]></category> <category><![CDATA[RTP]]></category> <category><![CDATA[security]]></category> <category><![CDATA[ssl]]></category> <category><![CDATA[TLS]]></category> <category><![CDATA[Video]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[XMPP]]></category><guid isPermaLink="false">http://kevin.deldycke.com/?p=379</guid> <description><![CDATA[The story was spread by all top tech blogs last week: Google&#8217;s Gmail now features a video chat. And it requires the installation of a dedicated plugin. Alas, there is no such plugin for any other platform except &#8220;Windows XP &#8230; <a href="http://kevin.deldycke.com/2008/11/google-apps-video-chat-comes-with-secure-gmail-sessions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>The story was spread by <a href="http://www.gizmodo.com.au/2008/11/gmail_now_with_voice_chat_and_video.html">all</a> <a href="http://www.readwriteweb.com/archives/google_launches_video_and_voic.php">top</a> <a href="http://arstechnica.com/news.ars/post/20081111-gmail-gains-voice-and-video-chat-via-mac-and-pc-plug-in.html">tech</a> <a href="http://www.techcrunch.com/2008/11/11/google-adds-voice-and-video-chat-to-gmail/">blogs</a> last week: <a href="http://gmailblog.blogspot.com/2008/11/say-hello-to-gmail-voice-and-video-chat.html">Google&#8217;s Gmail now features a video chat</a>. And it requires the installation of a dedicated plugin.</p><p>Alas, there is no such plugin for any other platform except &#8220;<em>Windows XP and later</em>&#8221; (<a href="http://mail.google.com/videochat">according the official website</a>) and Macs (<a href="http://googleblog.blogspot.com/2008/11/talk-face-to-face-right-from-within.html">as read on the official blog</a>). So it&#8217;s a quite sad news for us Linux users. Indeed, I&#8217;m confident about a future seamless integration into the free software ecosystem, as the Gmail&#8217;s video chat is <a href="http://juberti.blogspot.com/2008/11/say-hello-to-gmail-voice-and-video-chat.html">based on a stack</a> of open (<a href="http://blog.senko.net/2008/11/12/gmail-videochat-the-good-the-bad-and-the-ugly/">or soon-to-be, according the recent controversy</a>) standards and protocols: <a href="http://xmpp.org">XMPP</a>/<a href="http://en.wikipedia.org/wiki/Jingle_(protocol)">Jingle</a>, <a href="http://wikipedia.org/wiki/Scalable_Video_Coding">h264/SVC</a> &#038; <a href="http://wikipedia.org/wiki/Real-time_Transport_Protocol">RTP</a>.</p><p>Anyways, that&#8217;s not the main purpose of this post.</p><p>I just wanted to point out an update that was not reported by the news: as soon as it was officially made available for the public, the brand new <a href="http://googleappsupdates.blogspot.com/2008/11/browser-based-voice-and-video-chat.html">video feature was released for Google Apps&#8217; Gmail</a> too.</p><p>Not only that, Google also backported to Apps&#8217; Gmail the <a href="http://blog.wired.com/27bstroke6/2008/08/gmail-https-doe.html#comment-127126868">much awaited HTTPs option</a> that allow you to force secure encryption of your sessions:<br /> <img src="http://kevin.deldycke.com/wp-content/uploads/2008/11/gmail-force-https.png" alt="" title="gmail-force-https" width="390" height="82" class="aligncenter size-full center wp-image-380" /></p><p>These two updates are quite interesting to note. I long as I remember (and I might be wrong), Google Apps components were always out-of-sync with their legacy equivalent. So this maybe a sign of change in a really good direction for Google Apps users ! <img src='http://kevin.deldycke.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://kevin.deldycke.com/2008/11/google-apps-video-chat-comes-with-secure-gmail-sessions/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How-to add Google Analytics tracking to Zenphoto</title><link>http://kevin.deldycke.com/2008/08/how-to-add-google-analytics-tracking-to-zenphoto/</link> <comments>http://kevin.deldycke.com/2008/08/how-to-add-google-analytics-tracking-to-zenphoto/#comments</comments> <pubDate>Sat, 16 Aug 2008 20:49:55 +0000</pubDate> <dc:creator>Kev</dc:creator> <category><![CDATA[English]]></category> <category><![CDATA[analytics]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[hack]]></category> <category><![CDATA[patch]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Snippet]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[Zenphoto]]></category><guid isPermaLink="false">http://kevin.deldycke.com/?p=286</guid> <description><![CDATA[This is the patch I apply on each Zenphoto I install and upgrade. This little hack add Google Analytics tracking for all users except administrators. Why ? As you can see in ticket #441 in Zenphoto bugtracker, there is no &#8230; <a href="http://kevin.deldycke.com/2008/08/how-to-add-google-analytics-tracking-to-zenphoto/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><img src="http://kevin.deldycke.com/wp-content/uploads/2008/08/zenphoto-12-150x23.png" alt="" title="zenphoto-12" width="150" height="23" class="alignleft size-thumbnail wp-image-299" /></p><p>This is the patch I apply on each <a href="http://www.zenphoto.org">Zenphoto</a> I install and upgrade. This little hack add <a href="http://www.google.com/analytics/">Google Analytics</a> tracking for all users except administrators.</p><p>Why ? As you can see in <a href="http://www.zenphoto.org/trac/ticket/441">ticket #441 in Zenphoto bugtracker</a>, there is no intention of adding support of GA in Zenphoto, even as an optional plugin. Hence my tiny hack. And for the non-admin stuff, I like having unbiased statistics: on low-audience websites, administrators can generate more traffic than legitimate users (if not all&#8230;).</p><p>Here is the <a href='http://kevin.deldycke.com/wp-content/uploads/2008/08/google-analytics-tracking-for-non-admin-users.patch'>downloadable patch file</a>, and its content:</p><pre class="brush: diff; title: ; notranslate">
diff -ru ./zenphoto-orig/zp-core/template-functions.php ./zenphoto/zp-core/template-functions.php
--- ./zenphoto-orig/zp-core/template-functions.php  2008-08-15 07:43:05.000000000 +0200
+++ ./zenphoto/zp-core/template-functions.php 2008-08-16 17:08:03.000000000 +0200
@@ -147,7 +147,16 @@

    echo &quot;&lt;li&gt;&lt;a href=\&quot;&quot;.$zf.&quot;/admin.php?logout$redirect\&quot;&gt;&quot;.gettext(&quot;Logout&quot;).&quot;&lt;/a&gt;&lt;/li&gt;\n&quot;;
    echo &quot;&lt;/ul&gt;&lt;/div&gt;\n&quot;;
- }
+ } else {
+    echo &quot;&lt;script type=\&quot;text/javascript\&quot;&gt;
+var gaJsHost = ((\&quot;https:\&quot; == document.location.protocol) ? \&quot;https://ssl.\&quot; : \&quot;http://www.\&quot;);
+document.write(unescape(\&quot;%3Cscript src='\&quot; + gaJsHost + \&quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\&quot;));
+&lt;/script&gt;
+&lt;script type=\&quot;text/javascript\&quot;&gt;
+var pageTracker = _gat._getTracker(\&quot;UA-XXXXXX-Y\&quot;);
+pageTracker._trackPageview();
+&lt;/script&gt;&quot;;
+  }
 }

 /**
</pre><p>This patch was generated from a <a href="http://www.zenphoto.org/2008/08/zenphoto-12-release-announcement/">Zenphoto v1.2</a> and will likely not work with any other version.</p><p>Do not forget to update the dummy Google Analytics account ID above (<code>UA-XXXXXX-Y</code>) by yours.</p><p>And finally, to apply the patch, invoke the classic <code>patch</code> command:</p><pre class="brush: bash; title: ; notranslate">
patch -p0 &lt; ./google-analytics-tracking-for-non-admin-users.patch
</pre>]]></content:encoded> <wfw:commentRss>http://kevin.deldycke.com/2008/08/how-to-add-google-analytics-tracking-to-zenphoto/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/29 queries in 0.012 seconds using apc
Object Caching 889/954 objects using apc

Served from: kevin.deldycke.com @ 2012-02-08 10:23:31 -->
