Changes for page ONEcount Javascript SDK Reference
Last modified by rayaan@one-count_com on 2022/11/02 19:35
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -**The ONEcount SDK **is available from the main javascript widget that is loaded on the client site all.min. Using the SDK, developers can interact with the platform as well as hooking into events. All of the code necessary for running the Javascript SDK is loaded through all.min.js.1 +**The ONEcount SDK **is available from the main javascript widget that is loaded on the client site all.min. Using the SDK, developers can interact with the platform as well as hooking into events. 2 2 3 3 == Methods == 4 4 ... ... @@ -96,7 +96,7 @@ 96 96 **bypass**: **mixed** - this will return **false** if the user is not bypassed. If the user is bypassed then this will be an **object** with the properties type and value. (type ip will also have a **name** property). Type can be **url**, **user_agent**, **referrer** or **ip**. Value will contains the value based on which the bypassed occurred 97 97 ))) 98 98 * ((( 99 -**view_count**: **int** – view_countisonly displayedfor products/packagesthat areprotected by afrequency/time frame.Some productshave a limitlike10 articlesperdayor3 articlespermonth,itwillhold thevalueofarticlesthat havebeenread. Iftheproductis not protectedbyafrequency/time-frame, thisvaluewill be -1.99 +**view_count**: **int** – return the user’s view count for products protected by a time frame. This is the count for the product the user is currently accessing. If he url being accessed is not from a product with a time limit, the value returned is -1 100 100 ))) 101 101 * ((( 102 102 **cookie**: **object** – return the user’s ONEcount cookie
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 774965631 +23331781 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/ 77496563/ONEcount Javascript SDK Reference1 +https://info.onecount.net//wiki/spaces/OD/pages/23331781/ONEcount Javascript SDK Reference