Browse files

Fixing some formatting of code in the README

  • Loading branch information...
1 parent cb61ab6 commit 627645c7c7c31a2efb612582c8a2bb86d3165766 @robbyrussell robbyrussell committed Nov 1, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.textile
View
3 README.textile
@@ -6,14 +6,15 @@ h2. Example Usage
Just execute this _after_ google analytics is loaded.
+<pre><code>
_gap = new GoogleAnalyticsProxy();
_gap._trackPageview();
_gap._trackPageview('/contact/thanks');
_gap._trackEvent('Video', 'Play', 'Homepage video');
_gap._trackEvent('Video', 'Pause', 'Homepage video');
_gap._trackEvent('Button', 'Click', 'Call to action X');
-
+</code></pre>
h3. Initializing GoogleAnalyticsProxy

0 comments on commit 627645c

Please sign in to comment.