1

goatcounter

This commit is contained in:
Evan Pratten 2023-05-16 14:00:39 -04:00
parent 56abc3f35a
commit ff5a41cf1e
5 changed files with 13 additions and 4 deletions

View File

@ -6,6 +6,7 @@
{% set feature_flags = [] %}
{% set redirect_target = "" %}
{% set announcement = "" %}
{% set page_path = "" %}
{% endblock variable_wormhole %}
<!DOCTYPE html>

View File

@ -1,3 +1,11 @@
{# Analytics #}
<script data-goatcounter="https://ewpratten.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
<noscript>
<img src="https://ewpratten.goatcounter.com/count?p={{page_path | safe}}">
</noscript>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script defer src="https://www.googletagmanager.com/gtag/js?id=G-5912H4H03P"></script>
<script>
@ -7,6 +15,3 @@
gtag('config', 'G-5912H4H03P');
</script>
{# Experimental new analytics engine #}
<script async defer data-website-id="c68c03ec-3ecf-48af-b7ed-7de6ce5f46b2" src="https://analytics.ewpratten.com/umami.js"></script>

View File

@ -25,6 +25,7 @@
{# Pass data through to the base template #}
{% block variable_wormhole %}
{{ super() }}
{% set page_path = "/" %}
{% set title = section.title %}
{% set description = config.description %}
{% if section.extra.uses %}

View File

@ -23,6 +23,7 @@
{# Pass data through to the base template #}
{% block variable_wormhole %}
{{ super() }}
{% set page_path = page.path %}
{% set title = page.title %}
{% set description = page.description %}
{% set is_article = true %}

View File

@ -3,6 +3,7 @@
{# Pass data through to the base template #}
{% block variable_wormhole %}
{{ super() }}
{% set page_path = section.path %}
{% set title = section.title %}
{% set description = section.description %}
{% if section.extra.uses %}