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:
@@ -9,6 +9,14 @@
|
||||
"source": "/stats/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": "/(.*)",
|
||||
"destination": "/error-404.html"
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
<script defer data-api="/stats/event" data-domain="preview.tabler.io" src="/stats/js/script.js"></script>
|
||||
|
||||
{% if posthogApiKey %}
|
||||
<script>
|
||||
/**
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
<meta name="twitter:title" content="{{ metaTitle }}">
|
||||
{% 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' %}
|
||||
<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" />
|
||||
|
||||
Reference in New Issue
Block a user