Index: /trunk/ova.jwplayer.5x/examples/pages/analytics/example01.html
===================================================================
--- /trunk/ova.jwplayer.5x/examples/pages/analytics/example01.html	(revision 407)
+++ /trunk/ova.jwplayer.5x/examples/pages/analytics/example01.html	(revision 407)
@@ -0,0 +1,88 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<title>Example 1 - Modifying the default Google Analytics URLs</title>
+</head>
+<body>
+<script type="text/javascript" src="../../../dist/js/ova-examples.js"></script>
+<style type="text/css">
+<!--
+  @import url(../../../dist/css/global.css);
+-->
+</style>
+<script type="text/javascript">var OVA_CONFIG='analytics/ova01.xml';</script>
+<h2>Example 1 - Modifying the default Google Analytics URLs</h2>
+<p class="example"></p>
+<script type="text/javascript">document.write(writePlayerEmbedCode(OVA_CONFIG, 2, 450, 300));</script>
+<p>
+The configuration for this example is:
+</p>
+<div class="codebox">
+<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
+<code>
+<script type="text/javascript">document.write(htmlEncode(writePlayerEmbedCode(OVA_CONFIG, 2, 450, 300)));</script>
+</code>
+</pre>
+</div>
+<p>
+"<script type="text/javascript">document.write(OVA_CONFIG)</script>" is defined as:
+</p>
+<div class="codebox">
+<pre>
+<code class="xml">
+&lt;config&gt;
+   &lt;ova.title&gt;
+       Example 1 - Modifying the default Google Analytics URLs
+   &lt;/ova.title&gt;
+   &lt;ova.json&gt;
+       {
+            "analytics": {
+                "google": {
+	                "ova": {
+                        "accountId": "UA-10158120-1",
+	    	        	"impressions": {
+                            "linear": "/ova/impression-counter/ova-test/linear",
+                            "nonLinear": "/ova/impression-counter/ova-test/nonLinear",
+                            "companion": "/ova/impression-counter/ova-test/companion"
+                        }
+	                }
+                }
+            },
+            
+            "shows": {
+              "streams": [ 
+                 { 
+                    "file":"http://streaming.openvideoads.org:81/shows/the-black-hole.mp4", 
+                    "duration":"00:00:30" 
+                 } 
+              ]
+            },
+
+            "ads": {
+              "servers": [
+                   {
+                      "type": "OpenX",
+                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
+                   }
+              ],
+              "schedule": [
+                  {
+                      "zone": "5",
+                      "position": "pre-roll"
+                  }
+              ]
+            },
+
+            "debug": {
+              "debugger": "firebug",
+              "levels": "fatal, config, vast_template, vpaid, http_calls, tracking_events"
+            }
+       }
+   &lt;/ova.json&gt;
+&lt;/config&gt;
+</code>
+</pre>
+</div>
+</body>
+</html>
Index: /trunk/ova.jwplayer.5x/examples/pages/analytics/example02.html
===================================================================
--- /trunk/ova.jwplayer.5x/examples/pages/analytics/example02.html	(revision 407)
+++ /trunk/ova.jwplayer.5x/examples/pages/analytics/example02.html	(revision 407)
@@ -0,0 +1,89 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<title>Example 2 - Adding Custom Google Analytics URLs</title>
+</head>
+<body>
+<script type="text/javascript" src="../../../dist/js/ova-examples.js"></script>
+<style type="text/css">
+<!--
+  @import url(../../../dist/css/global.css);
+-->
+</style>
+<script type="text/javascript">var OVA_CONFIG='analytics/ova02.xml';</script>
+<h2>Example 2 - Adding Custom Google Analytics URLs</h2>
+<p class="example"></p>
+<script type="text/javascript">document.write(writePlayerEmbedCode(OVA_CONFIG, 2, 450, 300));</script>
+<p>
+The configuration for this example is:
+</p>
+<div class="codebox">
+<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
+<code>
+<script type="text/javascript">document.write(htmlEncode(writePlayerEmbedCode(OVA_CONFIG, 2, 450, 300)));</script>
+</code>
+</pre>
+</div>
+<p>
+"<script type="text/javascript">document.write(OVA_CONFIG)</script>" is defined as:
+</p>
+<div class="codebox">
+<pre>
+<code class="xml">
+&lt;config&gt;
+   &lt;ova.title&gt;
+       Example 2 - Adding Custom Google Analytics URLs
+   &lt;/ova.title&gt;
+   &lt;ova.json&gt;
+       {
+            "analytics": {
+                "google": {
+	                "custom": {
+                        "enable": true,
+                        "accountId": "UA-10158120-1",
+                        "impressions": {
+                            "linear": "/ova/impression-counter/custom-test/linear",
+                            "nonLinear": "/ova/impression-counter/custom-test/nonLinear",
+                            "companion": "/ova/impression-counter/custom-test/companion"
+                        }
+	            	}
+                }
+            },
+            
+            "shows": {
+              "streams": [ 
+                 { 
+                    "file":"http://streaming.openvideoads.org:81/shows/the-black-hole.mp4", 
+                    "duration":"00:00:30" 
+                 } 
+              ]
+            },
+
+            "ads": {
+              "servers": [
+                   {
+                      "type": "OpenX",
+                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
+                   }
+              ],
+              "schedule": [
+                  {
+                      "zone": "5",
+                      "position": "pre-roll"
+                  }
+              ]
+            },
+
+            "debug": {
+              "debugger": "firebug",
+              "levels": "fatal, config, vast_template, vpaid, http_calls, tracking_events"
+            }
+       }
+   &lt;/ova.json&gt;
+&lt;/config&gt;
+</code>
+</pre>
+</div>
+</body>
+</html>
Index: /trunk/ova.jwplayer.5x/examples/pages/analytics/example03.html
===================================================================
--- /trunk/ova.jwplayer.5x/examples/pages/analytics/example03.html	(revision 407)
+++ /trunk/ova.jwplayer.5x/examples/pages/analytics/example03.html	(revision 407)
@@ -0,0 +1,81 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<title>Example 3 - Disabling Google Analytics Completely</title>
+</head>
+<body>
+<script type="text/javascript" src="../../../dist/js/ova-examples.js"></script>
+<style type="text/css">
+<!--
+  @import url(../../../dist/css/global.css);
+-->
+</style>
+<script type="text/javascript">var OVA_CONFIG='analytics/ova03.xml';</script>
+<h2>Example 3 - Disabling Google Analytics Completely</h2>
+<p class="example"></p>
+<script type="text/javascript">document.write(writePlayerEmbedCode(OVA_CONFIG, 2, 450, 300));</script>
+<p>
+The configuration for this example is:
+</p>
+<div class="codebox">
+<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
+<code>
+<script type="text/javascript">document.write(htmlEncode(writePlayerEmbedCode(OVA_CONFIG, 2, 450, 300)));</script>
+</code>
+</pre>
+</div>
+<p>
+"<script type="text/javascript">document.write(OVA_CONFIG)</script>" is defined as:
+</p>
+<div class="codebox">
+<pre>
+<code class="xml">
+&lt;config&gt;
+   &lt;ova.title&gt;
+       Example 3 - Disabling Google Analytics Completely
+   &lt;/ova.title&gt;
+   &lt;ova.json&gt;
+       {
+            "analytics": {
+                "google": {
+                    "enable": false
+                }
+            },
+            
+            "shows": {
+              "streams": [ 
+                 { 
+                    "file":"http://streaming.openvideoads.org:81/shows/the-black-hole.mp4", 
+                    "duration":"00:00:30" 
+                 } 
+              ]
+            },
+
+            "ads": {
+              "servers": [
+                   {
+                      "type": "OpenX",
+                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
+                   }
+              ],
+              "schedule": [
+                  {
+                      "zone": "5",
+                      "position": "pre-roll"
+                  }
+              ]
+            },
+
+            "debug": {
+              "debugger": "firebug",
+              "levels": "fatal, config, vast_template, vpaid, http_calls, tracking_events"
+            }
+       }
+   &lt;/ova.json&gt;
+&lt;/config&gt;
+</code>
+</pre>
+</div>
+</body>
+</html>
Index: /trunk/ova.jwplayer.5x/examples/pages/analytics/example04.html
===================================================================
--- /trunk/ova.jwplayer.5x/examples/pages/analytics/example04.html	(revision 407)
+++ /trunk/ova.jwplayer.5x/examples/pages/analytics/example04.html	(revision 407)
@@ -0,0 +1,92 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<title>Example 4 - Disabling OVA Default Google Analytics while Enabling Custom Google Analytics</title>
+</head>
+<body>
+<script type="text/javascript" src="../../../dist/js/ova-examples.js"></script>
+<style type="text/css">
+<!--
+  @import url(../../../dist/css/global.css);
+-->
+</style>
+<script type="text/javascript">var OVA_CONFIG='analytics/ova04.xml';</script>
+<h2>Example 4 - Disabling OVA Default Google Analytics while Enabling Custom Google Analytics</h2>
+<p class="example"></p>
+<script type="text/javascript">document.write(writePlayerEmbedCode(OVA_CONFIG, 2, 450, 300));</script>
+<p>
+The configuration for this example is:
+</p>
+<div class="codebox">
+<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
+<code>
+<script type="text/javascript">document.write(htmlEncode(writePlayerEmbedCode(OVA_CONFIG, 2, 450, 300)));</script>
+</code>
+</pre>
+</div>
+<p>
+"<script type="text/javascript">document.write(OVA_CONFIG)</script>" is defined as:
+</p>
+<div class="codebox">
+<pre>
+<code class="xml">
+&lt;config&gt;
+   &lt;ova.title&gt;
+       Example 4 - Disabling OVA Default Google Analytics while Enabling Custom Google Analytics
+   &lt;/ova.title&gt;
+   &lt;ova.json&gt;
+       {
+            "analytics": {
+                "google": {
+                    "ova": {
+                        "enable": false
+                    },
+                    "custom": {
+                        "enable": true,
+                        "accountId": "UA-10158120-1",
+                        "impressions": {
+                            "linear": "/ova/impression-counter/custom-test/linear",
+                            "nonLinear": "/ova/impression-counter/custom-test/nonLinear",
+                            "companion": "/ova/impression-counter/custom-test/companion"
+                        }
+                    }
+                }
+            },
+            
+            "shows": {
+              "streams": [ 
+                 { 
+                    "file":"http://streaming.openvideoads.org:81/shows/the-black-hole.mp4", 
+                    "duration":"00:00:30" 
+                 } 
+              ]
+            },
+
+            "ads": {
+              "servers": [
+                   {
+                      "type": "OpenX",
+                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
+                   }
+              ],
+              "schedule": [
+                  {
+                      "zone": "5",
+                      "position": "pre-roll"
+                  }
+              ]
+            },
+
+            "debug": {
+              "debugger": "firebug",
+              "levels": "fatal, config, vast_template, vpaid, http_calls, tracking_events"
+            }
+       }
+   &lt;/ova.json&gt;
+&lt;/config&gt;
+</code>
+</pre>
+</div>
+</body>
+</html>
Index: /trunk/ova.jwplayer.5x/examples/pages/analytics/example05.html
===================================================================
--- /trunk/ova.jwplayer.5x/examples/pages/analytics/example05.html	(revision 407)
+++ /trunk/ova.jwplayer.5x/examples/pages/analytics/example05.html	(revision 407)
@@ -0,0 +1,85 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<title>Example 5 - Disabling Impression Tracking Specifically</title>
+</head>
+<body>
+<script type="text/javascript" src="../../../dist/js/ova-examples.js"></script>
+<style type="text/css">
+<!--
+  @import url(../../../dist/css/global.css);
+-->
+</style>
+<script type="text/javascript">var OVA_CONFIG='analytics/ova05.xml';</script>
+<h2>Example 5 - Disabling Impression Tracking Specifically</h2>
+<p class="example"></p>
+<script type="text/javascript">document.write(writePlayerEmbedCode(OVA_CONFIG, 2, 450, 300));</script>
+<p>
+The configuration for this example is:
+</p>
+<div class="codebox">
+<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
+<code>
+<script type="text/javascript">document.write(htmlEncode(writePlayerEmbedCode(OVA_CONFIG, 2, 450, 300)));</script>
+</code>
+</pre>
+</div>
+<p>
+"<script type="text/javascript">document.write(OVA_CONFIG)</script>" is defined as:
+</p>
+<div class="codebox">
+<pre>
+<code class="xml">
+&lt;config&gt;
+   &lt;ova.title&gt;
+       Example 5 - Disabling Impression Tracking Specifically
+   &lt;/ova.title&gt;
+   &lt;ova.json&gt;
+       {
+            "analytics": {
+                "google": {
+	                "ova": {
+                        "impressions": {
+                            "enable": false
+                        }
+                    }
+                }
+            },
+            
+            "shows": {
+              "streams": [ 
+                 { 
+                    "file":"http://streaming.openvideoads.org:81/shows/the-black-hole.mp4", 
+                    "duration":"00:00:30" 
+                 } 
+              ]
+            },
+
+            "ads": {
+              "servers": [
+                   {
+                      "type": "OpenX",
+                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
+                   }
+              ],
+              "schedule": [
+                  {
+                      "zone": "5",
+                      "position": "pre-roll"
+                  }
+              ]
+            },
+
+            "debug": {
+              "debugger": "firebug",
+              "levels": "fatal, config, vast_template, vpaid, http_calls, tracking_events"
+            }
+       }
+   &lt;/ova.json&gt;
+&lt;/config&gt;
+</code>
+</pre>
+</div>
+</body>
+</html>
Index: /trunk/ova.jwplayer.5x/examples/pages/analytics/index.html
===================================================================
--- /trunk/ova.jwplayer.5x/examples/pages/analytics/index.html	(revision 407)
+++ /trunk/ova.jwplayer.5x/examples/pages/analytics/index.html	(revision 407)
@@ -0,0 +1,28 @@
+<html>
+<head>
+<title>OVA - Analytics</title>
+<link rel="stylesheet" type="text/css" href="../../../dist/css/global.css" />
+</head>
+<body>
+<a href="www.openvideoads.org"><img src="../../../dist/images/ova-logo-final.png" border="0"/></a>
+<h2>OVA - Analytics</h2>
+<p class="example">
+<p>
+<ol>
+<li><a href="example01.html">Modifying the default Google Analytics OVA Tracking Details</a></li>
+<li><a href="example02.html">Adding Google Analytics Custom Tracking URLs</a></li>
+<li><a href="example03.html">Disabling Google Analytics Completely</a></li>
+<li><a href="example04.html">Disabling OVA Default Google Analytics while Enabling Custom Google Analytics</a></li>
+<li><a href="example05.html">Disabling Impression Tracking Specifically</a></li>
+</ol>
+<p class="example">
+These examples use an OpenX installation that we are running at Open Video Ads. To gain more insight
+into the zone/banner setup that we have in place for the examples, please read this <a href="../openx-config.html">short guide</a>.
+</p>
+<p>
+<a href="../../index.html">Back to main index</a>
+</p>
+<p class="example">
+Copyright 2010 Open Video Ads
+</p>
+</body>
