Skip to content

Commit

Permalink
chore: remove umami tracking code (#567)
Browse files Browse the repository at this point in the history
* Revert "update umami class to use data-umami-event"

This reverts commit b181b07.

* Revert "docs: add umami to storybook"

This reverts commit 0c43b2d.

* Revert "add umami tracking code"

This reverts commit 9800247.

* fix
  • Loading branch information
davidhu2000 committed Jul 14, 2023
1 parent f7df1ae commit 485f4e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
1 change: 0 additions & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ module.exports = {
// "@storybook/addon-google-analytics",
"storybook-dark-mode",
"./google-analytics-v4/register.js",
"./umami/register.js",
"./canonical-link/register.js",
],
framework: "@storybook/react",
Expand Down
10 changes: 0 additions & 10 deletions .storybook/umami/register.js

This file was deleted.

10 changes: 4 additions & 6 deletions template.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,13 @@

<link href="https://fonts.googleapis.com/css?family=Roboto:400" rel="preload">
<link rel="stylesheet" type="text/css" href="styles.css">

<script async defer src="https://analytics.umami.is/script.js" data-website-id="fb8e65fb-2f7b-45b6-b0ab-90328407ebb0"></script>
</head>

<body>
<header id='header'>
<h1 class="logo">React Spinners</h1>

<h2 class="author">by <a href="https://www.davidhu.io" data-umami-event="portfolio-link-click">David Hu</a></h2>
<h2 class="author">by <a href="https://www.davidhu.io">David Hu</a></h2>
</header>

<main id='main'>
Expand Down Expand Up @@ -79,12 +77,12 @@ <h2 class="author">by <a href="https://www.davidhu.io" data-umami-event="portfol
</main>

<footer>
<a href="https://github.com/davidhu2000/react-spinners" data-umami-event="repo-link-click">Github</a>
<a href="https://www.davidhu.io/blog" style="margin-left: 30px" data-umami-event="blog-link-click">Blog</a>
<a href="https://github.com/davidhu2000/react-spinners">Github</a>
<a href="https://www.davidhu.io/blog" style="margin-left: 30px">Blog</a>
</footer>

<span id="forkongithub">
<a href="https://github.com/davidhu2000/react-spinners" data-umami-event="repo-fork-link-click">Fork me on GitHub</a>
<a href="https://github.com/davidhu2000/react-spinners">Fork me on GitHub</a>
</span>

</body>
Expand Down

0 comments on commit 485f4e1

Please sign in to comment.