Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/tags/analytics/templates/google.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Oliver Lillie  >  PHP Custom Tags  >  examples/tags/analytics/templates/google.html  >  Download  
File: examples/tags/analytics/templates/google.html
Role: Auxiliary data
Content type: text/plain
Description: Documentation
Class: PHP Custom Tags
Template engine based on tags similar to HTML
Author: By
Last change:
Date: 1 year ago
Size: 412 bytes
 

Contents

Class file image Download
<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">
	var pageTracker = _gat._getTracker("%account%");
	pageTracker._initData();
	pageTracker._trackPageview();
</script>