Wiki source code of ONEcount Cookies

Version 33.1 by Admin User on 2025/10/31 13:57

Hide last authors
melanie@one-count_com 5.1 1 {{layout}}
2 {{layout-section ac:type="two_right_sidebar"}}
3 {{layout-cell}}
melanie@one-count_com 1.1 4 ----
5
6
Admin User 33.1 7 (% style="color:#808080" %)//ONEcount uses first-party cookies to track users. The cookies are set in the ONEcount domain and on the customer's site(s).//
melanie@one-count_com 1.1 8
Admin User 33.1 9 (% style="color:#808080" %)//Cookies on the ONEcount domain are called Central Domain Cookies (CDC). Those on the client's site are called Local Cookies (LC).//
melanie@one-count_com 1.1 10
Admin User 33.1 11 (% style="color:#808080" %)//Below is a list of the cookies and their description~://
melanie@one-count_com 1.1 12
Admin User 33.1 13 (% id="HFirst-PartyCookieSetting" class="western" %)
chris 26.1 14 == **First-Party Cookie Setting** ==
chris 25.1 15
rayaan@one-count_com 29.1 16 ONEcount sets 2 types of cookies: A temp cookie(**~_~_tempcookie**) on the first visit- and an OCID cookie(**~_~_ocid**) when the user is identified by registering, logging in, or when OC performs a cookie sync. All ONEcount cookies are first-party cookies, which means they are supported by all web browsers.
chris 25.1 17
18
rayaan@one-count_com 28.1 19 When a user visits the site for the first time, he or she will have no ONEcount cookies for that site.  In order to facilitate multi-site tracking, targeting and gating, ONEcount will set **~_~_tempcookie.**
chris 25.1 20
21
rayaan@one-count_com 28.1 22 Upon registering, clicking on a smartlink, or being identified through a cookie-sync with a third-party, ONEcount sets an **~_~_ocid** cookie showing that we have identified the person as a known user.
chris 25.1 23
24
25 This helps a brand that has multiple sites. If a customer has 40 sites and a user is identified on Site A, then ONEcount will first set the temp cookie and then OCID cookie and store that data as a known user.
26
27
28 If a user visits Site B, then OCID will be able to retrieve that user’s identity, which is stored in cookies on the [[onecount.net>>url:http://onecount.net||shape="rect"]] domain. At this point, the user is known and his or her activity can be tracked across all brand sites that the user has registered for.
29
Admin User 33.1 30 (% id="HCentralDomainCookies" class="western" %)
melanie@one-count_com 1.1 31 == **Central Domain Cookies** ==
32
33 These cookies are set on the ONEcount domain.
34
35 **~_~_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.
36
37
38 **~_~_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"]])
39
40
41 **~_~_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"]].
42
rayaan@one-count_com 30.1 43
Admin User 33.1 44 (% style="color:#202124" %)**~_~_ocgt-//client-id//**(%%): This is (% style="color:#333333" %)used to identify the user.
rayaan@one-count_com 30.1 45
Admin User 33.1 46 (% id="HLocalCookies" class="western" %)
melanie@one-count_com 1.1 47 == **Local Cookies** ==
48
49 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.
50
51
52 **~_~_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.
53
54
55 **~_~_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.
56
57
58 **~_~_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.
59
60
61 **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.
62
63
64 **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.
65
66
67 **_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.
68
69
70 **_gcnb**: used as part of the visit id generation process.
71
Admin 27.1 72 **_ocfreepass**: counts pages that are part of a gating product. So if [[domain.com/articles/>>url:http://newrepublic.com/articles/||shape="rect"]] is the URL of the product, ocfreepass will increment on each page view if domain[[.com/articles/>>url:http://newrepublic.com/articles/||shape="rect"]], but it will not increment on a page view of [[domain.com>>url:http://newrepublic.com||shape="rect"]] because it is not a gated product. The name of the cookie includes a unique customer ID for each ONEcount customer, and a uniqe # for the product. In this way, if the same URL is in two different products, there will be two different cookies, one for each product. The number is the product_Id.
melanie@one-count_com 1.1 73
74
rayaan@one-count_com 30.1 75 //**ocaction-segment_id**: used as part of targeting process.//
76
Admin 27.1 77
78
79
rayaan@one-count_com 30.1 80
melanie@one-count_com 1.1 81
82
83
Admin User 33.1 84
melanie@one-count_com 5.1 85 {{/layout-cell}}
86
87 {{layout-cell}}
Admin User 33.1 88 {{panel borderStyle="solid" title=""}}{{/panel}}
melanie@one-count_com 11.1 89
Admin User 33.1 90 {{panel borderStyle="solid" title=""}}{{/panel}}
melanie@one-count_com 11.1 91
melanie@one-count_com 22.1 92 {{panel title="On this page:"}}
melanie@one-count_com 11.1 93 {{toc style="square"/}}
melanie@one-count_com 20.1 94 {{/panel}}
melanie@one-count_com 11.1 95
melanie@one-count_com 21.1 96 {{panel borderStyle="solid" title="More System and Setup Information"}}
Admin User 33.1 97 {{expand title="Click here to expand..."}}
melanie@one-count_com 11.1 98 [[ONEcount Cookies>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65727||shape="rect"]]
99 \\[[Widget Implementation>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65622||shape="rect"]]
100 \\[[Widget Builder>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]]
Admin User 33.1 101 \\[[doc:ONEcount Javascript Widgets]]
102 \\[[ONEcount Javascript Widget Changes>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65751||shape="rect"]]
103 \\[[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735]][[Configuration Manager>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65754||shape="rect"]]
104 \\[[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735]][[Smartlinks, Brand Codes, and Other Form Linkouts>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65829||shape="rect"]][[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]]
105 [[ONEcount SSL and non-SSL Client Brand Pages>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/ONEcount+SSL+and+non-SSL+Client+Brand+Pages||shape="rect"]]
106 \\[[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735]][[OpenX Zone Setup for Banner Tracking and Viewability>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/OpenX+Zone+Setup+for+Banner+Tracking+and+Viewability||shape="rect"]]
107 \\[[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735]][[DFP Small Business – Create Key/Value Pair for Ad Targeting>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65873||shape="rect"]]
108 \\[[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735]][[DFP Premium – Create Key/Value Pair for Ad Targeting>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65879||shape="rect"]]
109 \\[[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735]][[Progressive Lookup>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/Progressive+Lookup||shape="rect"]]
110 \\[[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735]][[Embedding Forms in Web Pages>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/Embedding+Forms+in+Web+Pages||shape="rect"]]
111 \\[[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735]][[Overriding Lookup/Login Page Settings>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65896||shape="rect"]][[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]]
112 [[Email Engine and Sender Score>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/Email+Engine+and+Sender+Score||shape="rect"]]
113 \\[[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735]][[Global Features>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65905||shape="rect"]][[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65751||shape="rect"]][[ >>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65751||shape="rect"]]
melanie@one-count_com 11.1 114 {{/expand}}
melanie@one-count_com 20.1 115 {{/panel}}
116
117
118
Admin User 33.1 119
melanie@one-count_com 5.1 120 {{/layout-cell}}
121 {{/layout-section}}
122 {{/layout}}