Wiki source code of ONEcount Cookies
Last modified by rayaan@one-count_com on 2025/06/27 12:14
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 | |||
| |
27.1 | 6 | \\ |
| |
1.1 | 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" %) | ||
| |
26.1 | 15 | == **First-Party Cookie Setting** == |
| |
25.1 | 16 | |
| |
29.1 | 17 | 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. |
| |
25.1 | 18 | |
| 19 | (% align="center" %) | ||
| |
27.1 | 20 | \\ |
| |
25.1 | 21 | |
| |
28.1 | 22 | 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.** |
| |
25.1 | 23 | |
| |
27.1 | 24 | \\ |
| |
25.1 | 25 | |
| |
28.1 | 26 | 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. |
| |
25.1 | 27 | |
| |
27.1 | 28 | \\ |
| |
25.1 | 29 | |
| 30 | 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. | ||
| 31 | |||
| |
27.1 | 32 | \\ |
| |
25.1 | 33 | |
| 34 | 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. | ||
| 35 | |||
| 36 | (% class="western" %) | ||
| |
1.1 | 37 | == **Central Domain Cookies** == |
| 38 | |||
| 39 | These cookies are set on the ONEcount domain. | ||
| 40 | |||
| 41 | **~_~_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. | ||
| 42 | |||
| |
27.1 | 43 | \\ |
| |
1.1 | 44 | |
| 45 | **~_~_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"]]) | ||
| 46 | |||
| |
27.1 | 47 | \\ |
| |
1.1 | 48 | |
| 49 | **~_~_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"]]. | ||
| 50 | |||
| |
30.1 | 51 | \\ |
| 52 | |||
| |
31.1 | 53 | (% style="color: rgb(32,33,36);" %)**~_~_ocgt-//client-id//**(%%): This is (% style="color: rgb(51,51,51);" %)used to identify the user. |
| |
30.1 | 54 | |
| |
1.1 | 55 | (% class="western" %) |
| 56 | == **Local Cookies** == | ||
| 57 | |||
| 58 | 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. | ||
| 59 | |||
| |
27.1 | 60 | \\ |
| |
1.1 | 61 | |
| 62 | **~_~_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. | ||
| 63 | |||
| |
27.1 | 64 | \\ |
| |
1.1 | 65 | |
| 66 | **~_~_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. | ||
| 67 | |||
| |
27.1 | 68 | \\ |
| |
1.1 | 69 | |
| 70 | **~_~_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. | ||
| 71 | |||
| |
27.1 | 72 | \\ |
| |
1.1 | 73 | |
| 74 | **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. | ||
| 75 | |||
| |
27.1 | 76 | \\ |
| |
1.1 | 77 | |
| 78 | **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. | ||
| 79 | |||
| |
27.1 | 80 | \\ |
| |
1.1 | 81 | |
| 82 | **_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. | ||
| 83 | |||
| |
27.1 | 84 | \\ |
| |
1.1 | 85 | |
| 86 | **_gcnb**: used as part of the visit id generation process. | ||
| 87 | |||
| |
27.1 | 88 | **_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. |
| |
1.1 | 89 | |
| |
27.1 | 90 | \\ |
| |
1.1 | 91 | |
| |
30.1 | 92 | //**ocaction-segment_id**: used as part of targeting process.// |
| 93 | |||
| |
27.1 | 94 | \\ |
| 95 | |||
| 96 | \\ | ||
| 97 | |||
| 98 | \\ | ||
| 99 | |||
| |
30.1 | 100 | \\ |
| 101 | |||
| |
1.1 | 102 | (% align="CENTER" %) |
| 103 | |||
| 104 | \\ | ||
| 105 | |||
| 106 | (% align="CENTER" %) | ||
| 107 | |||
| 108 | \\ | ||
| |
5.1 | 109 | {{/layout-cell}} |
| 110 | |||
| 111 | {{layout-cell}} | ||
| |
22.1 | 112 | {{panel borderStyle="solid" title="Search all Documentation:"}} |
| |
11.1 | 113 | |
| 114 | |||
| 115 | {{livesearch/}} | ||
| |
20.1 | 116 | {{/panel}} |
| |
11.1 | 117 | |
| |
22.1 | 118 | {{panel borderStyle="solid" title=" Search System and Setup Information:"}} |
| |
11.1 | 119 | |
| |
16.1 | 120 | |
| |
17.1 | 121 | {{pagetreesearch rootPage="System and Setup Information"/}} |
| |
20.1 | 122 | {{/panel}} |
| |
16.1 | 123 | |
| |
22.1 | 124 | {{panel title="On this page:"}} |
| |
11.1 | 125 | |
| |
14.1 | 126 | |
| |
11.1 | 127 | {{toc style="square"/}} |
| |
20.1 | 128 | {{/panel}} |
| |
11.1 | 129 | |
| |
21.1 | 130 | {{panel borderStyle="solid" title="More System and Setup Information"}} |
| |
20.1 | 131 | {{expand}} |
| |
11.1 | 132 | [[ONEcount Cookies>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65727||shape="rect"]] |
| 133 | \\[[Widget Implementation>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65622||shape="rect"]] | ||
| 134 | \\[[Widget Builder>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]] | ||
| |
12.1 | 135 | \\[[doc:ONEcount Javascript Widgets]][[ |
| 136 | \\ONEcount Javascript Widget Changes>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65751||shape="rect"]][[ | ||
| |
11.1 | 137 | \\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Configuration Manager>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65754||shape="rect"]][[ |
| 138 | \\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Smartlinks, Brand Codes, and Other Form Linkouts>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65829||shape="rect"]][[ | ||
| 139 | >>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[ | ||
| 140 | 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"]][[ | ||
| 141 | \\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[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"]][[ | ||
| 142 | \\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[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"]][[ | ||
| 143 | \\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[DFP Premium – Create Key/Value Pair for Ad Targeting>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65879||shape="rect"]][[ | ||
| 144 | \\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Progressive Lookup>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/Progressive+Lookup||shape="rect"]][[ | ||
| 145 | \\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Embedding Forms in Web Pages>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/Embedding+Forms+in+Web+Pages||shape="rect"]][[ | ||
| 146 | \\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Overriding Lookup/Login Page Settings>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65896||shape="rect"]][[ | ||
| 147 | >>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[ | ||
| 148 | Email Engine and Sender Score>>url:http://bos-jira01-cl01.onecount.net:8090/display/OD/Email+Engine+and+Sender+Score||shape="rect"]][[ | ||
| 149 | \\>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[Global Features>>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65905||shape="rect"]][[ | ||
| 150 | >>url:http://bos-jira01-cl01.onecount.net:8090/pages/viewpage.action?pageId=65735||shape="rect"]][[ | ||
| |
28.1 | 151 | >>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"]] |
| |
11.1 | 152 | {{/expand}} |
| |
20.1 | 153 | {{/panel}} |
| 154 | |||
| |
27.1 | 155 | \\ |
| |
20.1 | 156 | |
| |
27.1 | 157 | \\ |
| |
20.1 | 158 | |
| |
27.1 | 159 | \\ |
| |
5.1 | 160 | {{/layout-cell}} |
| 161 | {{/layout-section}} | ||
| 162 | {{/layout}} |