Skip to content

Commit bebf3cc

Browse files
Merge pull request #120 from bits-bytes-nn/privacy-notice
Privacy notice; GA without Google signals or ad personalisation
2 parents f28294b + 7d3504d commit bebf3cc

3 files changed

Lines changed: 27 additions & 3 deletions

File tree

‎_includes/footer.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h2 class="footer-heading">{{ site.title }}</h2>
4141
</div>
4242

4343
<div class="site-signature">
44-
<p class="rss-subscribe text"><strong>Subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></strong></p>
44+
<p class="rss-subscribe text"><strong>Subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></strong> · <a href="{{ '/about/#privacy' | prepend: site.baseurl }}">Privacy</a></p>
4545
<p class="text" lang="{{ site.lang }}">{{ site.description }}</p>
4646
</div>
4747

‎_includes/head.html‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,14 +305,19 @@
305305
crossorigin="anonymous"></script>
306306
{% endif %}
307307

308-
<!-- Google Analytics, on the deployed build only: a local serve would count as traffic. -->
308+
<!-- Google Analytics, on the deployed build only: a local serve would count as traffic.
309+
Google signals and ad personalisation are off: this site shows no ads and
310+
needs page counts, not cross-site profiles (see About, "Privacy"). -->
309311
{% if site.ga_tracking_id and jekyll.environment == 'production' %}
310312
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.ga_tracking_id }}"></script>
311313
<script>
312314
window.dataLayer = window.dataLayer || [];
313315
function gtag(){dataLayer.push(arguments);}
314316
gtag('js', new Date());
315-
gtag('config', '{{ site.ga_tracking_id }}');
317+
gtag('config', '{{ site.ga_tracking_id }}', {
318+
allow_google_signals: false,
319+
allow_ad_personalization_signals: false
320+
});
316321
</script>
317322
{% endif %}
318323

‎about.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,22 @@ If something here sparks a thought, I'd love to hear it — reach out through an
2727
- **GitHub** — [bits-bytes-nn](https://github.com/bits-bytes-nn)
2828
- **LinkedIn** — [Jonas Kim](https://www.linkedin.com/in/aldente0630)
2929
- **Threads** — [@aldente0630](https://www.threads.com/@aldente0630)
30+
31+
## Privacy
32+
33+
This blog has no accounts, comments or ads, and keeps no data of its own. What
34+
your browser shares while you read:
35+
36+
- **Google Analytics** counts page views: the page address, the referring page,
37+
your device and browser type and an approximate location. It sets first-party
38+
cookies (`_ga`, `_ga_*`) that last up to two years. Google signals and ad
39+
personalisation are turned off. To opt out, block those cookies or use
40+
[Google's opt-out add-on](https://tools.google.com/dlpage/gaoptout).
41+
- **Fonts and libraries** load from Google Fonts, jsDelivr and unpkg, which see
42+
your IP address as part of serving them.
43+
- **Paper reviews** ask Semantic Scholar for the paper's citation count, and
44+
some posts show figures hosted by their original sites (arXiv and others).
45+
- **Your browser** keeps your theme choice and cached citation counts in local
46+
storage; nothing leaves your device for those.
47+
48+
Questions or requests: [{{ site.email }}](mailto:{{ site.email }}).

0 commit comments

Comments
 (0)