Cotton code
40 lines · 2.4 KB · HTMLRaw
<!doctype html><!-- A shop's product page shaped like a real one: its own styles, script, pictures and basket, a tag manager, the     advertising pixels a shop carries and a session recorder. Every name is invented; the tracker hosts are on Cotton     Sites' own list (crates/cotton-core/src/sites_trackers.txt). The tag manager and Meta's pixel script are hosts     the list leaves off on purpose (tag managers, and connect.facebook.net as a sign-in kit). --><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Linen apron - Example Goods</title><script>var want = 6, got = 0; function mine() { got++; var f = document.getElementById('first-party'); if (f) f.textContent = 'First-party: ' + got + ' of ' + want + ' loaded'; }</script><link rel="stylesheet" href="/static/shop.css" onload="mine(this)"><script async src="https://www.googletagmanager.com/gtag/js?id=AW-000000000"></script><script async src="https://connect.facebook.net/en_US/fbevents.js"></script><script async src="https://www.googleadservices.com/pagead/conversion_async.js"></script><script async src="https://static.criteo.net/js/ld/publishertag.js"></script><script async src="https://bat.bing.com/bat.js"></script><script async src="https://s.adroll.com/j/roundtrip.js"></script><script async src="https://static.hotjar.com/c/hotjar-0000000.js?sv=6"></script><script async src="https://www.clarity.ms/tag/example0"></script></head><body><div class="top"><span>Example Goods</span><span id="basket">Basket</span></div><h1>Linen apron</h1><div class="grid">  <img src="/img/product1.svg" alt="The apron, front" onload="mine(this)">  <img src="/img/product2.svg" alt="The apron, back" onload="mine(this)"></div><p>Washed linen, two pockets, ties at the back. 28.00</p><button>Add to basket</button><h2>You may also like</h2><img src="/img/product3.svg" alt="Tea towel" onload="mine(this)"><img src="https://match.adsrvr.org/track/cmf/generic?ttd_pid=example" width="1" height="1" alt=""><img src="https://ib.adnxs.com/getuid?https://example.invalid/$UID" width="1" height="1" alt=""><img src="https://dsum-sec.casalemedia.com/rum?cm_dsp_id=0" width="1" height="1" alt=""><img src="https://googleads.g.doubleclick.net/pagead/viewthroughconversion/000000000/?guid=ON" width="1" height="1" alt=""><footer id="first-party">First-party: waiting</footer><script src="/static/shop.js" onload="mine(this)"></script></body></html>