| | 34 | |
| | 35 | == 2. Tracking Event Javascript Callback API == |
| | 36 | |
| | 37 | Further to the OVA Javascript callback API described in the RC5 release note (section 17), the following callback APIs have been implemented to allow the tracking events to be traced/actioned via Javascript: |
| | 38 | |
| | 39 | * onImpressionEvent(event:Object, forced:Boolean) |
| | 40 | * onTrackingEvent(event:Object) |
| | 41 | * onClickTrackingEvent(event:Object) |
| | 42 | * onCustomClickEvent(event:Object) |
| | 43 | |
| | 44 | To enable these callbacks, the OVA general option "canFireEventAPICalls" must be declared as "true". It is false by default. |
| | 45 | |
| | 46 | {{{ |
| | 47 | { |
| | 48 | "canFireEventAPICalls": true |
| | 49 | ... |
| | 50 | } |
| | 51 | }}} |
| | 52 | |