Last modified by rayaan@one-count_com on 2025/06/27 12:15

From version 5.1
edited by Admin
on 2022/11/02 19:30
Change comment: There is no comment for this version
To version 6.1
edited by rayaan@one-count_com
on 2022/11/02 20:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Admin
1 +XWiki.rayaan@one-count_com
Content
... ... @@ -7,7 +7,7 @@
7 7  * **GCN.onecount.logout()**: Log a user out of ONEcount if the user is logged in.
8 8  * **GCN.onecount.isLoggedIn**(): Check whether a user is logged in or not. Return a boolean true/false
9 9  * **GCN.onecount.setTargeting()**: Load the targeting rules if any
10 -* **GCN.onecount.identify({"demo_id" : "value", "demo_field" : "value"}, create_flag)**: Identifies a user with data that is matched against a demographic field. This is useful when you have a data point like e-mail or some other unique identifier that has been uploaded into ONEcount, and you want to identify a web site visitor using that field.\\
10 +* **GCN.onecount.identify({"demo_id" : "value", "demo_id" : "value"}, create_flag)**: Identifies a user with data that is matched against a demographic field. This is useful when you have a data point like e-mail or some other unique identifier that has been uploaded into ONEcount, and you want to identify a web site visitor using that field.\\
11 11  ** **demo_id**: this is the numeric question ID of the demographic field you want to query
12 12  ** **value**: the value for the field you are querying. Multiple demographic fields can be queried, but all fields must be true in order for the user to be identified
13 13  ** **create_flag**: tells ONEcount whether to create a new user with this identifier if no match is found. 
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -77496565
1 +77496567
url
... ... @@ -1,1 +1,1 @@
1 -https://info.onecount.net//wiki/spaces/OD/pages/77496565/ONEcount Javascript SDK Reference
1 +https://info.onecount.net//wiki/spaces/OD/pages/77496567/ONEcount Javascript SDK Reference