1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

remove old analytics

This commit is contained in:
codecalm
2025-09-23 22:59:55 +02:00
parent 6e2e4e3317
commit af41699e84
3 changed files with 8 additions and 4 deletions

View File

@@ -9,6 +9,14 @@
"source": "/stats/event", "source": "/stats/event",
"destination": "https://plausible.io/api/event" "destination": "https://plausible.io/api/event"
}, },
{
"source": "/eat/static/:path(.*)",
"destination": "https://eu-assets.i.posthog.com/static/:path*"
},
{
"source": "/eat/:path(.*)",
"destination": "https://eu.i.posthog.com/:path*"
},
{ {
"source": "/(.*)", "source": "/(.*)",
"destination": "/error-404.html" "destination": "/error-404.html"

View File

@@ -1,5 +1,3 @@
<script defer data-api="/stats/event" data-domain="preview.tabler.io" src="/stats/js/script.js"></script>
{% if posthogApiKey %} {% if posthogApiKey %}
<script> <script>
/** /**

View File

@@ -48,8 +48,6 @@
<meta name="twitter:title" content="{{ metaTitle }}"> <meta name="twitter:title" content="{{ metaTitle }}">
{% if metaDescription %}<meta name="twitter:description" content="{{ metaDescription }}">{% endif %} {% if metaDescription %}<meta name="twitter:description" content="{{ metaDescription }}">{% endif %}
<script defer data-api="/stats/event" data-domain="docs.tabler.io" src="/stats/js/script.js"></script>
{% elsif environment == 'development' %} {% elsif environment == 'development' %}
<link rel="icon" href="{{ page | relative }}/favicon-dev.ico" type="image/x-icon" /> <link rel="icon" href="{{ page | relative }}/favicon-dev.ico" type="image/x-icon" />
<link rel="shortcut icon" href="{{ page | relative }}/favicon-dev.ico" type="image/x-icon" /> <link rel="shortcut icon" href="{{ page | relative }}/favicon-dev.ico" type="image/x-icon" />