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. 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. 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** – return the user’sviewThisisthecountfor the product the useriscurrently accessing.Ifheurlbeingaccessed is notfrom aproductwitha timelimit, thevaluereturnedis-199 +**view_count**: **int** – view_count is only displayed for products/packages that are protected by a frequency/time frame. Some products have a limit like 10 articles per day or 3 articles per month, it will hold the value of articles that have been read. If the product is not protected by a frequency/time-frame, this value will be -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 - 233317811 +77496563 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://info.onecount.net//wiki/spaces/OD/pages/ 23331781/ONEcount Javascript SDK Reference1 +https://info.onecount.net//wiki/spaces/OD/pages/77496563/ONEcount Javascript SDK Reference