Example 4 - Disabling OVA Default Google Analytics while Enabling Custom Google Analytics

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 4 - Disabling OVA Default Google Analytics while Enabling Custom Google Analytics
   </ova.title>
   <ova.json>
       {
            "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": {
              "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
            }
       }
   </ova.json>
</config>