Skip to content

Commit

Permalink
fix: Add googleAnalytics function support.
Browse files Browse the repository at this point in the history
  • Loading branch information
MortyZhaoy committed Sep 22, 2024
1 parent d34f7b1 commit a4bfebb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
9 changes: 0 additions & 9 deletions layouts/_internal/google_analytics.html

This file was deleted.

11 changes: 10 additions & 1 deletion layouts/partials/extend-footer.html
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
<a rel="me" href="https://masto.ai/@blowfish"></a>
<a rel="me" href="https://masto.ai/@blowfish"></a>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z9ZLQYBPJ1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-Z9ZLQYBPJ1');
</script>
3 changes: 0 additions & 3 deletions layouts/partials/head/seo.html

This file was deleted.

0 comments on commit a4bfebb

Please sign in to comment.