blob: 2c25d37c2c8017deae6e021525da446cd5d07dc5 [file] [log] [blame]
<html>
<head>
<title>make_google_analytics_async example</title>
</head>
<body>
Google Analytics loaded via document.write in main doc.
<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("XX-XXXXXXXX-X");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>