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