cookies.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template><NuxtLayout name="default">
  2. <template #headline>{{ headline }}</template>
  3. <template #tagline>{{ tagline }}</template>
  4. <div class="container mx-auto max-w-screen-lg sm:px-12 px-2 prose">
  5. <article class="grid sm:grid-cols-2 grid-cols-1 gap-x-12 gap-y-0">
  6. <section class="col-span-1 sm:col-span-2 pb-8">
  7. <p><strong>Cookies are not always bad</strong>. Sometimes they are bad, sometimes they are useful.
  8. <strong>On this website</strong>, I use these.</p>
  9. <p><strong>Consent</strong>: I record your preferences regarding cookies in a cookie. You can change
  10. your preferences at any time using the cookie dialog box that you can open clicking on the cookie
  11. icon in a corner at the bottom of the screen. There are other mechanisms for storing pieces of
  12. information such as this, but a cookie is the most flexible and allows for finer control in a
  13. website's rendering process.</p>
  14. <p><strong>Analytics</strong>: these are the cookies that allow me to keep track of your steps through this
  15. website. Analytics give me information like where you are coming from, what you searched to get here,
  16. or what links you followed to get here, what pages you visit on the website, and how you leave the
  17. website. Think about this as kind of a visitor counter that knows if you are new or you've been here
  18. before, and a little survey at the end of what you liked and didn't like during your visit.</p>
  19. <p class="mx-8 sm:mx-24">Because <strong>I care a lot about privacy</strong>, I use <a href="https://matomo.org/">Matomo</a> for analytics, and
  20. I host it myself. Matomo is a privacy-conscious analytics platform that doesn't just hoover your data
  21. up and sells it to the highest bidder. What is even more interesting is that you can host Matomo yourself
  22. on your own server so that you know exactly where the visitors' data is stored.</p>
  23. <p><strong>Ads</strong>: at the moment, I am not showing any ads. Jury's still out on what the best ads
  24. platform is, but I may end up going back to Google in the future.</p>
  25. </section>
  26. </article>
  27. </div>
  28. </NuxtLayout></template>
  29. <script lang="ts" setup>
  30. definePageMeta({
  31. layout: false
  32. });
  33. const headline = "Cookies";
  34. const tagline = "They have them in the dark side";
  35. const title = `${headline} ••• Andrea Franceschini, PhD`;
  36. const description = "Everything you need to know to get in touch with me.";
  37. const keywords = "cookies, tracking, good, bad";
  38. useState('pageClasses', () => ['colophon', 'page']);
  39. useHead({
  40. title,
  41. meta: [
  42. { property: 'keywords', content: keywords },
  43. { property: 'DC.Title', content: title },
  44. { property: 'twitter:title', content: title },
  45. { property: 'og:title', content: title },
  46. { property: 'description', content: description },
  47. { property: 'DC.Description', content: description },
  48. { property: 'twitter:description', content: description },
  49. { property: 'og:description', content: description },
  50. ]
  51. });
  52. </script>