Skip to content

Commit

Permalink
move analytics from index.md to analytics.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jyun-volpe committed Oct 24, 2024
1 parent e4668e3 commit d8f255c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 21 deletions.
9 changes: 9 additions & 0 deletions docs/_includes/analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6JWRV4WHS8"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-6JWRV4WHS8');
</script>
22 changes: 1 addition & 21 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,4 @@
---
title: FTOT Public
---

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ page.title }}</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6JWRV4WHS8"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-6JWRV4WHS8');
</script>
</head>
<body>
{% include google_analytics.html %}

<p align="center">
<img src="https://user-images.githubusercontent.com/68650998/178897476-092cb9dc-0162-4bcb-9e31-7f5f252ec42b.png?raw=true"/>
Expand Down

0 comments on commit d8f255c

Please sign in to comment.