Skip to content

Commit

Permalink
commit...
Browse files Browse the repository at this point in the history
  • Loading branch information
soprun committed Nov 25, 2023
1 parent 92d38aa commit ce5c959
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _includes/head/cloudflare-web-analytics.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if jekyll.environment == 'production' and site.env.CLOUDFLARE_WEB_ANALYTICS != empty %}
{% if jekyll.environment == 'production' and site.env.CLOUDFLARE_WEB_ANALYTICS %}
<!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "{{ site.env.CLOUDFLARE_WEB_ANALYTICS }}"}'></script>
<!-- End Cloudflare Web Analytics -->
Expand Down
2 changes: 1 addition & 1 deletion _includes/head/google-tag-head.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if jekyll.environment == 'production' and site.env.GOOGLE_TAG != empty %}
{% if jekyll.environment == 'production' and site.env.GOOGLE_TAG %}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.env.GOOGLE_TAG }}"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion _includes/head/google-tag-manager-body.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if jekyll.environment == 'production' and site.env.GOOGLE_TAG_MANAGER != empty %}
{% if jekyll.environment == 'production' and site.env.GOOGLE_TAG_MANAGER %}
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id={{ site.env.GOOGLE_TAG_MANAGER }}"
Expand Down
2 changes: 1 addition & 1 deletion _includes/head/google-tag-manager-head.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if jekyll.environment == 'production' and site.env.GOOGLE_TAG_MANAGER != empty %}
{% if jekyll.environment == 'production' and site.env.GOOGLE_TAG_MANAGER %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
Expand Down
2 changes: 1 addition & 1 deletion _includes/head/yandex-metrika.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- if jekyll.environment == 'production' and site.env.YANDEX_METRIKA != empty %}
{%- if jekyll.environment == 'production' and site.env.YANDEX_METRIKA %}
<!-- Yandex.Metrika counter -->
<script type="text/javascript" async>
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
Expand Down

0 comments on commit ce5c959

Please sign in to comment.