PageRenderTime 1ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/beacon/index.php

http://showslow.googlecode.com/
PHP | 36 lines | 33 code | 3 blank | 0 comment | 3 complexity | afffddf55918892683b70e1c728f0323 MD5 | raw file
 1<?php 
 2require_once(dirname(dirname(__FILE__)).'/global.php');
 3?><html>
 4<head>
 5<title>ShowSlow Beacons</title>
 6<?php if ($googleAnalyticsProfile) {?>
 7<script type="text/javascript">
 8var _gaq = _gaq || [];
 9_gaq.push(['_setAccount', '<?php echo $googleAnalyticsProfile ?>']);
10_gaq.push(['_trackPageview']);
11
12(function() {
13var ga = document.createElement('script');
14ga.src = ('https:' == document.location.protocol ?
15    'https://ssl' : 'http://www') +
16    '.google-analytics.com/ga.js';
17ga.setAttribute('async', 'true');
18document.documentElement.firstChild.appendChild(ga);
19})();
20</script>
21<?php }?>
22</head>
23<body>
24<h1>ShowSlow Beacons</h1>
25This instance of ShowSlow supports following beacons:
26<ul>
27<li><a href="yslow/">YSlow beacon</a></li>
28<li><a href="pagespeed/">Page Speed beacon</a></li>
29<li><a href="events/">Custom events beacon</a></li>
30<li><a href="metric/">Custom metrics beacon</a></li>
31<li><a href="har/">HAR beacon</a></li>
32<li><a href="dynatrace/">dynaTrace AJAX Edition beacon</a></li>
33</ul>
34
35</body></html>
36