How to insert Google Analytics into the template

Professional Business Joomla template for corporate and business websites suitable for showing stock quotes, up to date news, portfolio management resources or international market data.
GK User
Mon Dec 10, 2012 7:11 pm
Could someone please instruct on how to insert Google Analytics into the Financial Business template.

Thanks for your time in advance.

Gerard :D
User avatar
Junior Boarder

GK User
Mon Dec 10, 2012 7:22 pm
hi,

In the features section you have a google analytics section where you can put your tracking ID (in format like UA-XXXXX).
User avatar
Administrator

GK User
Mon Dec 10, 2012 7:39 pm
Is this the only part of the code I need to appy?

what about the full script below? do I just forget about that?
<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';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
User avatar
Junior Boarder

GK User
Mon Dec 10, 2012 8:59 pm
The code is generated automatically by the template, so you have to put only the UA-xxxxxxx-x code
User avatar
Administrator


cron