Get Blogged by JoKi

"The only frontiers are in your mind"
03 | 09 | 2010
Navigation
Syndication
feed-image RSS 2.0
Most Read Articles
Related Resources
Article Time Line
About me
Microsoft Most Valuable Professional 2007 & 2008

Microsoft Certified Professional

Get in contact

Recent books

  • MCTS 70-536 - .NET Framework 2.0 Application Development Foundation
  • Code-Centric: T-SQL Programming with Stored Procedures and Triggers
  • Microsoft .NET Framework-Programmierung in C#

Community

deutschsprachige FoxPro User Group

Microsoft Community Leader/Insider Program

International .NET Association

O'Reilly Verlag
Sponsoring
If you like the information on these pages, your support is highly appreciated.
Thank you very much!
Validation

Valid XHTML 1.0 Transitional
Valid CSS!

Spacer for layout formatting
Community Day at SOS Kinderdorf Bambous PDF
Community
Friday, 09 April 2010 12:57

Easter is not only an occassion of public holidays but an opportunity to share and celebrate with your neighborhood. The team of IOS Indian Ocean Software Ltd. spent Easter Monday with the children and "mothers" of SOS Children's Village in Bambous.

Together with the employees' family members we enjoyed some wonderful hours together. Starting the community day with a common lunch, IOS contributed mainly stationery, educational gifts and games like Scrabble or Sudoku. And of course, a little give-away with chocolate eggs...

The kids are aged between 5 and 18 years. They live together with their village mothers in so-called family houses. The SOS Kinderdorf in Bambous is quite new and started their operations back in 2003, with an official inauguration in May 2005.

Actually, I'm really happy about this event and I am looking forward to IOS next community activity.

Community off-line and for real people, not only virtual!

 

PS: Article in L'Express of 09.04.2010

 
AddThis and Google Analytics : Asynchronous Tracking Code Integration PDF
User Rating:ratingratingratingratingrating / 3
PoorBest 
Community
Wednesday, 03 March 2010 12:41

During the weekend I did some modifications, read improvements, here on the website according to Search Engine Optimization (SEO), keywords and page load times. Reducing the page load times made it necessarily to arrange my Javascript snippets in the template. So far, everything went well, until I figured out that my Google Analytics dropped down to 0...

So, while checking those issues I stumbled upon the 'new' Google Analytics Asynchronous Tracking code. This will also reduce page load time as "asynchronous tracking optimizes how browsers load ga.js so its impact on user experience is minimized." - Great!

The steps to use the asynchronous tracking is straight forward:

  • Memorize or copy your web property ID from the existing snippet
  • Remove the synchronous tracking code
  • Insert the asynchronous tracking code
    <script type="text/javascript"><!--
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-XXXXX-X']);
    _gaq.push(['_trackPageview']);

    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
    })();
    // --></script>
  • Replacing UA-XXXXX-X with your web property ID.

That's the easy part...

Integrating AddThis into the 'standard' Google Analytics is extensively described on the help pages of AddThis. But sadly, there is no information about the asynchronous tracking code. Additionally, I checked the AddThis support forum and the topic 'Google Analytics : Asynchronous Tracking Code Integration' is discussed since a while. Not even answered by AddThis supporters yet. Even the Google Forum does not provide an answer. I was astonished to see this! Frankly speaking, this is not an unusual situation for a website, or?

Anyways, back to this article. You can send AddThis shares to your Google Analytics reports as custom events in the category “addthis” by adding the following configuration code to your existing AddThis sharing code:

addthis_config = {
data_ga_tracker
: pageTracker
}

The main problem about the interoperability between AddThis and Google Analytics is that the asynchronous tracking code does not provide a pageTracker object anymore. As said, this only works with the synchronous tracking code of Google Analytics. The forum threads actually provides some directions towards the solution of this problem. The link between those two services is to reference the GA pageTracker object in the AddThis configuration.

The Asynchronous Tracking Usage Guide provides the necessary information in the paragraphs about Multiple Tracker Objects and Pushing Functions. It is not clearly described on the spot but with a little bit of logic you can figure it out: Create your own Javascript variable that queries the Google API.

_gaq.push(function() {
var pageTracker = _gaq._getAsyncTracker('myTracker');
var link = document.getElementById('my-link-id');
link
.href = pageTracker._getLinkerUrl('http://example.com/');
});
<

The solution lies in the parameter of _getAsyncTracker(). The samples in the User Guide refer to a named tracker. But what about the initial one? Right, just specify an empty string and you are done!

To summarize this article just use the following code snippet at the very end of your website to integrate Google Analytics : Asynchronous Tracking with your AddThis analytics:

<!-- Google Analytics and AddThis button -->
<script type="text/javascript">
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
})();
</script>

<script type="text/javascript">
var pageTracker = [];
if (_gaq._getAsyncTracker) {
pageTracker = _gaq._getAsyncTracker('');
}

var addthis_config = {
data_ga_tracker: pageTracker
};</script>
</body>

The GA user guide recommends to split your asynchronous code over your HTML content. The setup of the tracker should be directly after the <body> tag whereas the rest should be placed at the very end of your document (as described above).

Hopefully, my description is clear enough to enjoy a smooth and seamless code integration between Google Analytics Asynchronous Tracking and AddThis Sharing.

 
Finally tweeting PDF
Community
Monday, 08 February 2010 07:46

Finally, I could convince myself to register an account on Twitter to start micro-blogging. The registration is free, easy and straight forward. No woes at all...

I could have set up a tweet already ages ago but honestly I have to say that I never had any real motivation about this whole concept. Even now, I am not 100% sure about the pros and benefits of Twitter are. Maybe I will get some feedback on this during the next weeks. Perhaps I might use this micro-blogging space for some more questions or even rants... Let's see. ;)

Anyways, the "Get in contact" area in the sidebar is updated and you might follow my tweet on this URL: http://www.twitter.com/JKirstaetter

Sadly, my alias "JoKi" is alerady in use by someone else, but that's life: First come, first serve.

One of the next things I am going to do is to check out of one the many Codeplex projects, namely VFPTweetAPI by Olaf Doschke. First of all, it is to get more familiar with Twitter itself and second I hope that it is easier to tweet from VFP directly than to launch my favorite browser. And last but not least, I might integrate the component into one of my projects like Sunshine.

Definetily more on this topic in the future...

 
InfoTech 2008 PDF
Community
Friday, 08 August 2008 11:43

The National Computer Board (NCB) invited to visit their annually InfoTech fair at the Swami Vivekananda International Convention Centre. This event marks the peak of IT sector here on the island and a lot of well-known companies showed their business stuff at the Exhibition Space.

Actually, I had several chances to meet people from Microsoft Indian Ocean, the University of Mauritius and the University of Technology, Mauritius

After all I spend some nice hours at the Convention Centre. Looking forward to Infotech 2009.

 

 
Another MVP in Mauritius PDF
Community
Friday, 14 March 2008 14:37
Cool!

Recently, I found out that there is another Microsoft Most Valuable Professional (MVP) in Mauritius. He is nominated in Windows Mobile and writes a lot of information on this topic in his blog about PocketPC. Really interesting and maybe useful for future purposes.

Have a look at his blog.


Sincerely, JoKi

 
« StartPrev12345678910NextEnd »

Page 1 of 20
Spacer for layout formatting