Skip to content

Commit

Permalink
Add plausible analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
anarosas committed Mar 1, 2024
1 parent 0d36b92 commit 859a872
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
9 changes: 0 additions & 9 deletions _includes/google-analytics.html

This file was deleted.

4 changes: 2 additions & 2 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<title>{{ site.title }}</title>
<meta name="description" content="{{ site.description }}">
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
{%- if jekyll.environment == 'production' -%}
{%- include plausible-analytics.html -%}
{%- endif -%}
</head>
1 change: 1 addition & 0 deletions _includes/plausible-analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script defer data-domain="anarosas.dev" src="https://plausible.io/js/script.js"></script>

0 comments on commit 859a872

Please sign in to comment.