Hi Guys,
I changed from JA Wall to JA Hawkstore, now I need to get analytics working again.
Google says:
This is your tracking code. Copy and paste it into the code of every page you want to track.
Where do I past this?
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-#your code#-4']);
_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';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Or should I try a free plugin like:
http://extensions.joomla.org/extensions/site-management/analytics/site-analytics-google-based/12241
What do you think is the easiest solution with lowest risk to breaking template / future proof etc?