Changeset 1665
- Timestamp:
- Oct 5, 2010, 12:54:35 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/apps/frontend/templates/layout.php
r1661 r1665 140 140 </div> 141 141 </body> 142 <script >142 <script type="text/javascript"> 143 143 // Google 144 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); 145 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); 146 try { 147 var pageTracker = _gat._getTracker("UA-10423931-2"); 148 pageTracker._trackPageview(); 149 } catch(err) {} 144 var _gaq = _gaq || []; 145 _gaq.push(['_setAccount', 'UA-10423931-2']); 146 _gaq.push(['_trackPageview']); 147 (function() { 148 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 149 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 150 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 151 })(); 150 152 </script> 151 153 </html>
Note: See TracChangeset
for help on using the changeset viewer.