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",
|
"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"
|
||||||
|
|||||||
@@ -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>
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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" />
|
||||||
|
|||||||
Reference in New Issue
Block a user