charlier Posted October 30, 2009 Share Posted October 30, 2009 Hi, When I put my google analytics code in the footer.tpl file, my site does not load whatsoever. Just blank. Here's my google analytics code.... <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("blah"); pageTracker._trackPageview(); } catch(err) {}</script> This works for the rest of my site. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted October 30, 2009 Share Posted October 30, 2009 When I put my google analytics code in the footer.tpl file, my site does not load whatsoever. Just blank. Blank pages means you have an error in the tpl - go read the smarty documentation, especially the bit about {literal} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.