Last modified by rayaan@one-count_com on 2022/11/02 19:35

From version 2.1
edited by Admin
on 2020/01/09 19:05
Change comment: There is no comment for this version
To version 3.1
edited by Admin
on 2020/01/22 15:27
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -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’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
99 +**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 -23331781
1 +66715801
url
... ... @@ -1,1 +1,1 @@
1 -https://info.onecount.net//wiki/spaces/OD/pages/23331781/ONEcount Javascript SDK Reference
1 +https://info.onecount.net//wiki/spaces/OD/pages/66715801/ONEcount Javascript SDK Reference