Skip to content

Commit

Permalink
analytic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Sep 24, 2022
1 parent 37277ef commit 4dbe466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/_includes/layout/analytics.html
@@ -1 +1 @@
<script defer data-domain="{{ site.preview-url }}" src="https://plausible.io/js/plausible.js"></script>
<script defer data-domain="{{ site.preview-url | replace: 'https://', '' }}" src="https://plausible.io/js/plausible.js"></script>
3 changes: 2 additions & 1 deletion src/pages/_layouts/base.html
Expand Up @@ -10,6 +10,8 @@
<title>{% if title %}{{ title }} - {% endif %}{% if site.title %}{{ site.title }} - {% endif %}{{ site.description }}</title>

{% if jekyll.environment == 'preview' %}
{% include layout/analytics.html %}

<meta name="msapplication-TileColor" content="{{ site.data.colors.blue }}"/>
<meta name="theme-color" content="{{ site.data.colors.blue }}"/>

Expand All @@ -25,7 +27,6 @@
<meta name="description" content="{{ page.description | default: 'Tabler comes with tons of well-designed components and features. Start your adventure with Tabler and make your dashboard great again. For free!' | escape }}"/>

{% include layout/og.html %}
{% include layout/analytics.html %}
{% endif %}

{% include layout/css.html %}
Expand Down

1 comment on commit 4dbe466

@vercel
Copy link

@vercel vercel bot commented on 4dbe466 Sep 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tabler – ./

tabler-tabler-ui.vercel.app
preview.tabler.io
demo.tabler.io
tabler-git-main-tabler-ui.vercel.app

Please sign in to comment.