Tuesday, January 26, 2010

Google Analytics - Faster new Asynchronous Analytics Tracking

Google have announced a new Asynchronous Tracking script for Analytics. The new snippet decreases a webpage's loading time over the previous urchin/script as it is inserted higher up the page source thus not slowing down the page load on the client side (rendering). This is a nice feature as the Google Analytics code can add significantly to the time between page download (request) and the time it takes for the user to see the page (rendered).


New Script example:

<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>

Read more here: http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html

Wednesday, January 13, 2010

New websites & Projects


Congratulations to Tynan & Co, the 100 year old firm of Limerick Solicitors, who have just launched their new website. Tynan & Co. have just entered the digital age with their first ever web presence - and we're delighted to be working on their SEO and Web Marketing programme.



We've also started the launch of the first website for the new Connect Limerick website. Connect Limerick are a business networking group in Limerick and are seeking to promote and encourage business networking in the Mid West. Primary Position is delighted to be a sponsor and member of the group and website.