tpitale / ga-debug

Debug Google Analytics tracking in development

This URL has Read+Write access

ga-debug / index.html
100644 19 lines (18 sloc) 0.621 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <meta content='text/html; charset=utf-8' http-equiv='Content-type' />
    <title>index</title>
  </head>
  <body>
    <!-- Google -->
    <script type='text/javascript' src="ga-orig.js"></script>
    <script type='text/javascript' src="ga-debug.js"></script>
    <script type='text/javascript'>
      var pageTracker = _gat._getTracker("UA-1980766-2");
      pageTracker._initData();
      pageTracker._trackPageview();
      pageTracker.debug();
    </script>
  </body>
</html>