Posts Tagged ‘google analytics in prostores’
ProStores Google Analytics Ansynchronous Tracking Plug-in – FREE
Written by Matt on February 12, 2010 – 12:00 amI am happy to offer our new ProStores Google Analytics Ansynchronous Tracking Plug-in for free here on our blog.
From Google, “asynchronous tracking optimizes how browsers load ga.js so its impact on user experience is minimized. It also allows you to put your Analytics snippet higher in the page without delaying subsequent content from rendering.”
Its also much more flexible and advanced, as well as more accurate, you can push multiple commands at once and you can even split the snippet up depending on your configuration.
1. Remove your old Google Analytics code from the footer if you have it. If you have Google E-commerce tracking in your Order Confirm page leave it, neither code will bother the other one.
2. Open your Header Template, saving a baseline as always, and paste in the code below just after the <body> tag.
3. Make sure you replace UA-xxxxxxx-x with your Google Analytics account number.
<!-- Begin Google CODE -->
<ss:if test="$page.bodytemplate.name = 'orderconfirm'">
<ss:comment>do nothing</ss:comment>
<ss:else/>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxxxx-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>
</ss:if>
<!-- End Google CODE -->Visit tracking only, doesn’t track e-commerce purchases or purchase information. See my GA – E-Commerce Plug-in to track purchases in your ProStores store.
If you still need assistance Professional install service is available, if you follow me on twitter you can get a discount.
Tags: coding, google analytics, google analytics in prostores, order confirm template, prostores, ProStores Certified Designer, prostores plug-in, ssml, Tips, tracking code
Posted in ProStores Coding, Tips | 3 Comments »
Google Analytics for ProStores Video – Part 1 of 4 – Filters and Exclusions
Written by Matt on August 4, 2009 – 11:16 pmWelcome to the first post in a series of four.
Today’s video and post will be about Google Analytics filters and how to use them as well as some aspects that are unique to the ProStores/StoreFront environment.
Tags: google analytics, google analytics in prostores, prostores, ProStores Tutorials
Posted in Tutorials | 5 Comments »