Wiki source code of OpenX Zone Setup for Banner Tracking and Viewability
Version 3.1 by melanie@one-count_com on 2016/11/09 16:21
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | {{id name="Start ScreenSteps Content"/}} | ||
| 4 | For ONECount to track banner impressions with viewability, the following ONEcount Javascript must be added to OpenX zones. | ||
| 5 | |||
| 6 | <script src='http:~/~/ONECOUNTHOST/onecount/oc_track/v.js?zoneid=zoneid&bannerid=bannerid></script> | ||
| 7 | |||
| 8 | This lesson provides detail on the zone setup and adding the Javascript in OpenX. | ||
| 9 | |||
| 10 | === 1. Create/Edit Zone. === | ||
| 11 | |||
| 12 | [[image:attach:OpenX_1.png||align="center"]] | ||
| 13 | |||
| 14 | Click on "Zone Properties" tab and complete information. | ||
| 15 | |||
| 16 | === 2. Click on "Advanced" tab. === | ||
| 17 | |||
| 18 | [[image:attach:OpenX_2.png||align="center"]] | ||
| 19 | |||
| 20 | === 3. Scroll to the bottom of the "Advanced" tab to find "Append and prepend settings". === | ||
| 21 | |||
| 22 | [[image:attach:OpenX_3png.png||align="center"]] | ||
| 23 | |||
| 24 | === 4. Uncheck"prepend/Append even if no banner delivered" check box. === | ||
| 25 | |||
| 26 | [[image:attach:media_1434485370879.png||align="center"]] | ||
| 27 | |||
| 28 | === 5. Add the script into "Always append the following HTML code to banners displayed by this zone" field. === | ||
| 29 | |||
| 30 | [[image:attach:OpenX_5.png||align="center"]] | ||
| 31 | |||
| 32 | (% style="color: rgb(255,0,0);" %)**The script that needs to be added is as follows:** | ||
| 33 | |||
| 34 | (% style="color: rgb(0,0,0);" %)**<script src='http:~/~/ONECOUNTHOST/onecount/oc_track/v.js?zoneid=zoneid&bannerid=bannerid'></script>** | ||
| 35 | |||
| 36 | === 6. Click on "Save". === | ||
| 37 | |||
| 38 | Once you save the zone, then any banners displayed under that zone will be tracked in ONEcount. | ||
| 39 | |||
| 40 | |||
| 41 | |||
| 42 | {{id name="End ScreenSteps Content"/}} |