Wiki source code of ONEcount Cookies (v. 12.x)
Version 10.1 by melanie@one-count_com on 2016/11/11 11:58
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
5.1 | 1 | {{layout}} |
2 | {{layout-section ac:type="two_right_sidebar"}} | ||
3 | {{layout-cell}} | ||
![]() |
1.1 | 4 | ---- |
5 | |||
6 | |||
7 | |||
![]() |
4.1 | 8 | (% style="color: rgb(128,128,128);" %)//ONEcount uses first-party cookies to track users. The cookies are set in the ONEcount domain and on the customer's site(s).// |
![]() |
1.1 | 9 | |
![]() |
4.1 | 10 | (% style="color: rgb(128,128,128);" %)//Cookies on the ONEcount domain are called Central Domain Cookies (CDC). Those on the client's site are called Local Cookies (LC).// |
![]() |
1.1 | 11 | |
![]() |
4.1 | 12 | (% style="color: rgb(128,128,128);" %)//Below is a list of the cookies and their description~:// |
![]() |
1.1 | 13 | |
14 | (% class="western" %) | ||
15 | == **Central Domain Cookies** == | ||
16 | |||
17 | These cookies are set on the ONEcount domain. | ||
18 | |||
19 | **~_~_ocgt**: This is the global token. It's used to track users across all sites where the ONEcount widget is deployed. The value is a 64-character hash. This cookie is set under [[onecount.net>>url:http://onecount.net||shape="rect"]] domain. | ||
20 | |||
21 | |||
22 | |||
23 | **~_~_ocid**: set when a user is logs in on one of the Customer's sites. The value is a 64-character hash that represent sthe user in that customer's installation of ONEcount. It's set under **client**-[[reg.onecount.net>>url:http://reg.onecount.net||shape="rect"]] domain. (ie: if client is **foo**, then the cookie will be set under **foo**-[[reg.onecount.net>>url:http://reg.onecount.net||shape="rect"]]) | ||
24 | |||
25 | |||
26 | |||
27 | **~_~_ocusername**: Similar to ~_~_ocid, it's set when the user logs in on the client's system. The value, is the user's **username** on that client's system. The domain for this cookie **client**-[[reg.onecount.net>>url:http://reg.onecount.net||shape="rect"]]. | ||
28 | |||
29 | (% class="western" %) | ||
30 | == **Local Cookies** == | ||
31 | |||
32 | These cookies are set on the customer's site(s). If the customer has multiple sites, these cookies will be set as first-party cookies in each domain. | ||
33 | |||
34 | |||
35 | |||
36 | **~_~_tempcookie**: used track users on the client's site. The value is the same as **~_~_ocgt** from the central domain. It's set under the client's site domain. | ||
37 | |||
38 | |||
39 | |||
40 | **~_~_ocid**: set when a user is logged in on the client's site. The value is the same as **~_~_ocid** from the central domain. It's set under the client's site domain. | ||
41 | |||
42 | |||
43 | |||
44 | **~_~_ocusername**: set when a user is logged in on the client's site. The value is the same as **~_~_ocusername** from the central domain. It's set under the client's site. | ||
45 | |||
46 | |||
47 | |||
48 | **cookieValid**: this is a daily cookie. It's set on the first visit of the day if **~_~_ocid** is present. It's used as a flag that can be used to determine whether **~_~_ocid** is still valid or not. | ||
49 | |||
50 | |||
51 | |||
52 | **realReferer**: used to preserve the original referer when a redirect to [[onecount.net>>url:http://onecount.net||shape="rect"]] happens for setting the Central Domain Cookies. This can be passed to Google Analytics or other platforms. | ||
53 | |||
54 | |||
55 | |||
56 | **_gcna**: this represents the visit id. The value is a combination of the **~_~_ocid** and **~_~_tempcookie** cookies as well as the visit timestamp and the visit counter. | ||
57 | |||
58 | |||
59 | |||
60 | **_gcnb**: used as part of the visit id generation process. | ||
61 | |||
62 | |||
63 | |||
64 | |||
65 | |||
66 | (% align="CENTER" %) | ||
67 | |||
68 | \\ | ||
69 | |||
70 | (% align="CENTER" %) | ||
71 | |||
72 | \\ | ||
![]() |
5.1 | 73 | {{/layout-cell}} |
74 | |||
75 | {{layout-cell}} | ||
![]() |
10.1 | 76 | |
![]() |
5.1 | 77 | {{/layout-cell}} |
78 | {{/layout-section}} | ||
79 | {{/layout}} |