Skip to content

Commit

Permalink
WIP-Docs: analytics redo
Browse files Browse the repository at this point in the history
  • Loading branch information
TreyWW authored May 14, 2024
1 parent 0bf8044 commit 4e8b49a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/overrides/partials/integrations/analytics/custom.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% if config.extra.analytics.property and config.extra.analytics.id %}
<script defer src="{{ config.extra.analytics.property }}" data-website-id="{{ config.extra.analytics.id }}">
</script>
{% if config.extra.analytics.property %}
{{ config.extra.analytics.property | safe }}
{% else %}
<script>
console.log("failed to load analytics")
Expand Down

0 comments on commit 4e8b49a

Please sign in to comment.