Changes for page ONEcount Javascript Widgets
Last modified by Admin User on 2025/10/31 14:02
From version 12.1
edited by Admin User
on 2025/10/31 13:59
on 2025/10/31 13:59
Change comment:
There is no comment for this version
To version 11.1
edited by Admin
on 2025/06/27 12:14
on 2025/06/27 12:14
Change comment:
Migrated property [stableId] from class [Confluence.Code.ConfluencePageClass]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.Admin - Content
-
... ... @@ -5,6 +5,7 @@ 5 5 6 6 (updated 10/12/16) 7 7 8 +\\ 8 8 9 9 **all.min.js**: This is the main script that's used for data collection, interacting with ONEcount. 10 10 ... ... @@ -12,6 +12,7 @@ 12 12 13 13 (% style="margin-left: 30.0px;" %) 14 14 **variables**: this is a container for variables that may be used by others objects in GCN 16 +\\ 15 15 16 16 (% style="margin-left: 30.0px;" %) 17 17 **cookie**: utility for interacting with cookies. Contains the following functions: ... ... @@ -24,7 +24,8 @@ 24 24 **set**(**name**, **value**, **options**): create a cookie called **name** with value **value**. **options** is an object which can have **expires**, **path**, **domain** and **secure** properties 25 25 ))) 26 26 * ((( 27 -**remove**(**name**, **options**): removes the cookie **name**. **options** is an object which can have the property **sublevel** 29 +**remove**(**name**, **options**): removes the cookie **name**. **options** is an object which can have the property **sublevel 30 +\\** 28 28 ))) 29 29 ))) 30 30 ... ... @@ -46,8 +46,8 @@ 46 46 ))) 47 47 ))) 48 48 52 + 49 49 50 - 51 51 (% style="margin-left: 30.0px;" %) 52 52 **script**: utility for interacting with scripts. Contains the following functions: 53 53 ... ... @@ -62,7 +62,7 @@ 62 62 **addAsync**(**url**): create a script tag in the **body** whose **src** is **url** 63 63 ))) 64 64 * ((( 65 -**createScript**(**url**): helper function that create a script element whose src is url 68 +**createScript**(**url**): helper function that create a script element whose src is url\\ 66 66 ))) 67 67 ))) 68 68 ... ... @@ -71,7 +71,8 @@ 71 71 72 72 * ((( 73 73 * ((( 74 -**call**(**f**, **options**): calls the function **f** 77 +**call**(**f**, **options**): calls the function **f 78 +\\** 75 75 ))) 76 76 ))) 77 77 ... ... @@ -84,6 +84,7 @@ 84 84 ))) 85 85 * ((( 86 86 **off**(**type**, **listener**, **f**): removes the listener that executes the function **f** when event of type **type** occurs 91 +\\ 87 87 ))) 88 88 ))) 89 89 ... ... @@ -96,6 +96,7 @@ 96 96 ))) 97 97 * ((( 98 98 **string**(**count**): return a random string of length **count** 104 +\\ 99 99 ))) 100 100 ))) 101 101 ... ... @@ -108,6 +108,7 @@ 108 108 ))) 109 109 * ((( 110 110 **track**(**url**, **title**, **referer**): used to dynamically track a page with url **url**, title **title** and referer **referer**. This can be used with **infinite scroll**. 117 +\\ 111 111 ))) 112 112 ))) 113 113 ... ... @@ -115,7 +115,7 @@ 115 115 **ONEcount**: object for interacting with ONEcount application. This object contains many functions and objects. 116 116 117 117 (% style="margin-left: 60.0px;" %) 118 -a.** Functions**:125 +a.** Functions**: 119 119 120 120 * ((( 121 121 * ((( ... ... @@ -156,14 +156,15 @@ 156 156 ))) 157 157 ))) 158 158 166 +\\ 159 159 160 - 161 161 (% style="margin-left: 60.0px;" %) 162 -b. ** Objects**169 +b. ** Objects** 163 163 164 164 * ((( 165 165 * ((( 166 166 **urls**: this object contains all the url used to interact with ONEcount. These url already have the **clientId** appended to them. 174 +\\ 167 167 ))) 168 168 * ((( 169 169 **links:** this object contains links to the login/logout in ONEcount. Below are the functions: ... ... @@ -180,6 +180,7 @@ 180 180 ))) 181 181 * ((( 182 182 This also contains other helper functions such as **setReturn**(**returnUrl**), **getReturnParam**(**returnUrl**), **encodeUrl**(**url**), **decodeUrl**(**url**) 191 +\\ 183 183 ))) 184 184 ))) 185 185 ))) ... ... @@ -188,60 +188,62 @@ 188 188 * ((( 189 189 **modal**: used to create a modal. This is being used for the form popup and the custom targeting pop up Contains the following functions: 190 190 191 -* 200 +* 192 192 193 193 **create**(**options**): create a modal. options is an object that contains the properties **html**, **styles**, **close** 194 194 195 -* 204 +* 196 196 197 197 **getCloseButton**(**options**): return the close button element. **options** is an object that contains the properties **close** 198 198 199 -* 208 +* 200 200 201 201 **getContent**(**options**): return a div that contains the content of the modal. **options** is an object that contains the properties **html** 202 202 203 -* 212 +* 204 204 205 -**loadStyles**(**options**): load css styles used for the modal. **options** is an object that contains the properties **style** 214 +**loadStyles**(**options**): load css styles used for the modal. **options** is an object that contains the properties **style 215 +\\** 206 206 ))) 207 207 * ((( 208 208 **functions**: this is an object contains functions used by other widgets on the page. Contains the following functions: 209 209 210 -* 220 +* 211 211 212 212 **dfp_sb_ad_capture**(**e**): used to prepare data for **DFP Small Business** viewability script. e is and event containing data about the data (**creativeId**, **lineItemId**) 213 213 214 -* 224 +* 215 215 216 -**get_user_data()**: returns the user's **ocid** and **tempid** in the format **ocid.tempid** 226 +**get_user_data()**: returns the user's **ocid** and **tempid** in the format **ocid.tempid 227 +\\** 217 217 ))) 218 218 * ((( 219 219 **form**: used to create a pop up form or for form embed. Contains one function and another object: 220 220 221 -* 232 +* 222 222 223 223 **embed**(**options**): this function is used to embed a form on the page 224 224 225 -* 236 +* 226 226 227 227 **popup:** this object is used to display the form as a popup. Contains the following functions: 228 228 229 -* 240 +* 230 230 231 231 **resize**(**id**): re sizes the form with document id **id** 232 232 233 -* 244 +* 234 234 235 235 **display**(options): displays the form as a pop up 236 236 237 -* 248 +* 238 238 239 239 **message**(event): used to interact with the form in the iframe via **postMessage** 240 240 ))) 241 241 ))) 242 242 254 +\\ 243 243 244 - 245 245 On top of this **all.min.js** also contains a library used for browser fingerprinting as well as a library used for getting flash info on the browser. The content of this files used to spread in 3 different files and now they're in one place. 246 246 247 247 **v.js:** This script is used to capture viewability data for **DFP Premium** and **Openx Open Source (Revive)**. ... ... @@ -285,12 +285,60 @@ 285 285 286 286 When the function is called and the user is not subscribed to the product that the resource belongs to, he will be taken to the registration page in order to do so. If he is already subscribed to the product then nothing will happen. 287 287 299 +\\ 288 288 301 +\\ 289 289 290 -**__NOTE:__** If page load speed is ever a concern, it is recommended to use a third party service (such as tools.pingdom.com). By doing so, it will generate report of all items loading on your webpage along with their load times. Simply copy and paste your page's URL into the designated field and a test will be conducted immediately. If any** oc.net** item exceeds a load speed of 500ms, please enter a Helpdesk ticket for us to review. Testing page load speeds is a very informative way of identifying items that are directly impacting page performance. It is worth mentioning that there will be items that continuously load in short spurts (ex. **v.js** for viewability data) however those short spurts do not negatively impact load speed performance.303 +**__NOTE:__** If page load speed is ever a concern, it is recommended to use a third party service (such as tools.pingdom.com). By doing so, it will generate report of all items loading on your webpage along with their load times. Simply copy and paste your page's URL into the designated field and a test will be conducted immediately. If any** oc.net** item exceeds a load speed of 500ms, please enter a Helpdesk ticket for us to review. Testing page load speeds is a very informative way of identifying items that are directly impacting page performance. It is worth mentioning that there will be items that continuously load in short spurts (ex. **v.js** for viewability data) however those short spurts do not negatively impact load speed performance. 291 291 305 +\\ 292 292 293 - 307 +\\ 294 294 {{/layout-cell}} 309 + 310 +{{layout-cell}} 311 +{{panel borderStyle="solid" title="Search all Documentation:"}} 312 + 313 + 314 +{{livesearch/}} 315 +{{/panel}} 316 + 317 +{{panel borderStyle="solid" title=" Search System and Setup Information:"}} 318 + 319 + 320 +{{pagetreesearch rootPage="System and Setup Information"/}} 321 +{{/panel}} 322 + 323 +{{panel borderStyle="solid" title="More System and Setup Information"}} 324 +{{expand}} 325 +[[ONEcount Cookies>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65727||shape="rect"]] 326 +\\[[Widget Implementation>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65622||shape="rect"]] 327 +\\[[Widget Builder>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]] 328 +\\[[\\\\ONEcount Javascript Widget Changes>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65751||shape="rect"]][[ 329 +\\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Configuration Manager>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65754||shape="rect"]][[ 330 +\\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Smartlinks, Brand Codes, and Other Form Linkouts>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65829||shape="rect"]][[ 331 +>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[ 332 +ONEcount SSL and non-SSL Client Brand Pages>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/ONEcount+SSL+and+non-SSL+Client+Brand+Pages||shape="rect"]][[ 333 +\\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[OpenX Zone Setup for Banner Tracking and Viewability>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/OpenX+Zone+Setup+for+Banner+Tracking+and+Viewability||shape="rect"]][[ 334 +\\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[DFP Small Business – Create Key/Value Pair for Ad Targeting>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65873||shape="rect"]][[ 335 +\\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[DFP Premium – Create Key/Value Pair for Ad Targeting>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65879||shape="rect"]][[ 336 +\\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Progressive Lookup>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/Progressive+Lookup||shape="rect"]][[ 337 +\\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Embedding Forms in Web Pages>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/Embedding+Forms+in+Web+Pages||shape="rect"]][[ 338 +\\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Overriding Lookup/Login Page Settings>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65896||shape="rect"]][[ 339 +>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[ 340 +Email Engine and Sender Score>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/Email+Engine+and+Sender+Score||shape="rect"]][[ 341 +\\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Global Features>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65905||shape="rect"]][[ 342 +>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[ 343 +>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65751||shape="rect"]][[ 344 +>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65751||shape="rect"]] 345 +{{/expand}} 346 +{{/panel}} 347 + 348 +\\ 349 + 350 +\\ 351 + 352 +\\ 353 +{{/layout-cell}} 295 295 {{/layout-section}} 296 296 {{/layout}}