Skip to content

Commit

Permalink
fix GA
Browse files Browse the repository at this point in the history
  • Loading branch information
nyhryan committed Jan 26, 2024
1 parent 275de06 commit fdf1666
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,7 @@
{% endif %}

<!-- GA -->
{% if jekyll.environment == 'production' and site.google_analytics.id != empty and site.google_analytics.id %}
<link rel="preconnect" href="https://www.google-analytics.com" crossorigin="use-credentials">
<link rel="dns-prefetch" href="https://www.google-analytics.com">

<link rel="preconnect" href="https://www.googletagmanager.com" crossorigin="anonymous">
<link rel="dns-prefetch" href="https://www.googletagmanager.com">
{% endif %}
{% include google_analytics.html }

<!-- Bootstrap -->
<link rel="stylesheet" href="{{ site.data.origin[type].bootstrap.css | relative_url}}">
Expand Down

0 comments on commit fdf1666

Please sign in to comment.