|
151 | 151 | <li> |
152 | 152 | <a href="#Advertisements">Advertisements</a> |
153 | 153 | </li> |
| 154 | + <li> |
| 155 | + <a href="#Advertisements2">Advertisements Part 2</a> |
| 156 | + </li> |
154 | 157 | <li><a href="#Cookies">What are cookies?</a></li> |
155 | 158 | <li><a href="#Usage_of_Cookies">How do we use cookies?</a></li> |
156 | 159 | <li> |
@@ -304,6 +307,46 @@ <h1 id="Advertisements">Advertisements</h1> |
304 | 307 | browser's cookies, or heading to the "Update cookie preferences" |
305 | 308 | section of the settings page. |
306 | 309 | </p> |
| 310 | + <h1 id="Advertisements2">Advertisements Part 2</h1> |
| 311 | + <p> |
| 312 | + <i> |
| 313 | + This section only applies for the duration of Monkeytype's |
| 314 | + Advertiser A/B Test, beginning sometime in the second half on |
| 315 | + February 2023. |
| 316 | + </i> |
| 317 | + </p> |
| 318 | + <p><i>Common ID Cookie</i></p> |
| 319 | + <p id="cookieP"> |
| 320 | + This site uses cookies and similar tracking technologies such as the |
| 321 | + Common ID cookie to provide its services. Cookies are important |
| 322 | + devices for measuring advertising effectiveness and ensuring a robust |
| 323 | + online advertising industry. The Common ID cookie stores a unique user |
| 324 | + id in the first party domain and is accessible to our ad partners. |
| 325 | + This simple ID that can be utilized to improve user matching, |
| 326 | + especially for delivering ads to iOS and MacOS browsers. Users can opt |
| 327 | + out of the Common ID tracking cookie by clicking |
| 328 | + <a |
| 329 | + onclick="window.setCookie('_pubcid_optout', '1', 1825);" |
| 330 | + href="#opt-out" |
| 331 | + > |
| 332 | + here |
| 333 | + </a> |
| 334 | + . |
| 335 | + </p> |
| 336 | + <p><i>Advertising Privacy Settings</i></p> |
| 337 | + <p> |
| 338 | + FOR EU USERS ONLY: When you use our site, pre-selected companies may |
| 339 | + access and use certain information on your device and about your |
| 340 | + interests to serve ads or personalized content. You may revisit or |
| 341 | + change consent-choices at any time by clicking |
| 342 | + <a |
| 343 | + href="#tcfapi" |
| 344 | + onclick="if(window.__tcfapi === undefined){console.warn('User is not in the EU - Consent Choices can only be configured when User is in the EU')}else{ramp.showCmpModal()}" |
| 345 | + > |
| 346 | + here |
| 347 | + </a> |
| 348 | + . |
| 349 | + </p> |
307 | 350 |
|
308 | 351 | <h1 id="Cookies">What are cookies?</h1> |
309 | 352 | <p> |
@@ -416,4 +459,21 @@ <h1 id="Contact_Info">How to contact us</h1> |
416 | 459 | window.location = "/"; |
417 | 460 | }); |
418 | 461 | </script> |
| 462 | + <script type="text/javascript"> |
| 463 | + let optOutCounter = 0; |
| 464 | + function setCookie(cname, cvalue, exdays) { |
| 465 | + var d = new Date(); |
| 466 | + d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1000); |
| 467 | + var expires = "expires=" + d.toUTCString(); |
| 468 | + document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; |
| 469 | + if (optOutCounter == 0) { |
| 470 | + let cookieP = document.getElementById("cookieP"); |
| 471 | + var successCookie = document.createElement("h3"); |
| 472 | + successCookie.innerHTML = "Optout Success!"; |
| 473 | + successCookie.setAttribute("style", "color:green"); |
| 474 | + cookieP.appendChild(successCookie); |
| 475 | + optOutCounter++; |
| 476 | + } |
| 477 | + } |
| 478 | + </script> |
419 | 479 | </html> |
0 commit comments