509
If you have turned on your google analytics in admin console and you are using custom design template but the google analytics is not showing up in your html codes, look at the below steps to check if the codes are in your custom design are in placed.
1. check page.xml in app\design\frontend\default\[yourtemplate]\layout and verify if the following line is in place.
\\app\design\frontend\default\[yourtemplate]\layout\page.xml
2. open *.phtml in app\design\frontend\default\magikjewellery\template\page and verify if the following line is after the tag
\\app\design\frontend\default\[yourtemplate]\template\page\1column.phtml \\app\design\frontend\default\[yourtemplate]\template\page\1columnhome.phtml \\app\design\frontend\default\[yourtemplate]\template\page\2columns-left.phtml \\app\design\frontend\default\[yourtemplate]\template\page\2columns-right.phtml \\app\design\frontend\default\[yourtemplate]\template\page\print.phtml ... <!--?php echo $this--->getChildHtml('after_body_start') ?> ...
3. clear your cache by going to admin -> system -> cache management and flush magento cache
4. open your home page, right click on it and select view source and check if the following codes are generated.
<!-- BEGIN GOOGLE ANALYTICS CODE --> <script type="text/javascript"> //<![CDATA[ (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); })(); var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1234567-7']); _gaq.push(['_trackPageview']); //]]> </script> <!-- END GOOGLE ANALYTICS CODE -->