Skip to content

Commit 76451ff

Browse files
committed
added section about the advertising a/b test
1 parent f232cc8 commit 76451ff

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

frontend/static/privacy-policy.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@
151151
<li>
152152
<a href="#Advertisements">Advertisements</a>
153153
</li>
154+
<li>
155+
<a href="#Advertisements2">Advertisements Part 2</a>
156+
</li>
154157
<li><a href="#Cookies">What are cookies?</a></li>
155158
<li><a href="#Usage_of_Cookies">How do we use cookies?</a></li>
156159
<li>
@@ -304,6 +307,46 @@ <h1 id="Advertisements">Advertisements</h1>
304307
browser's cookies, or heading to the "Update cookie preferences"
305308
section of the settings page.
306309
</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>
307350

308351
<h1 id="Cookies">What are cookies?</h1>
309352
<p>
@@ -416,4 +459,21 @@ <h1 id="Contact_Info">How to contact us</h1>
416459
window.location = "/";
417460
});
418461
</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>
419479
</html>

0 commit comments

Comments
 (0)