Wiki source code of OpenX Zone Setup for Banner Tracking and Viewability
Version 7.1 by melanie@one-count_com on 2016/11/09 15:31
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
3.1 | 1 | |
2 | |||
3 | {{id name="Start ScreenSteps Content"/}} | ||
![]() |
7.1 | 4 | (% style="color: rgb(128,128,128);" %)//For ONECount to track banner impressions with viewability, the following ONEcount Javascript must be added to OpenX zones.// |
![]() |
3.1 | 5 | |
![]() |
7.1 | 6 | (% style="color: rgb(128,128,128);" %)//<script src='http:~/~/ONECOUNTHOST/onecount/oc_track/v.js?zoneid={zoneid}&bannerid={bannerid}></script>// |
![]() |
3.1 | 7 | |
![]() |
7.1 | 8 | (% style="color: rgb(128,128,128);" %)//This lesson provides detail on the zone setup and adding the Javascript in OpenX.// |
![]() |
3.1 | 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 | |||
![]() |
6.1 | 34 | (% style="color: rgb(0,0,0);" %)**<script src='http:~/~/ONECOUNTHOST/onecount/oc_track/v.js?zoneid={zoneid}&bannerid={bannerid}'></script>** |
![]() |
3.1 | 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"/}} |