Skip to content

Commit

Permalink
feat: enable analytics (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldy505 authored Feb 4, 2024
1 parent 41951a8 commit 7f26509
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions views/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
content="Paste your text of anything!"
/>
<meta name="twitter:image" content="https://polarite.teknologiumum.com/assets/social.jpg" />

<script async src="https://analytics.teknologiumum.com/script.js" data-website-id="e11aa95f-e51f-47a0-b478-c5a7f7d83831"></script>
<meta name="HandheldFriendly" content="True" />
<meta name="MSThemeCompatible" content="no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand All @@ -81,7 +81,7 @@
</head>
<body>
<textarea id="textarea" placeholder="Start typing..."></textarea>
<button id="submit-btn" onclick="submit()" role="submit" tabindex="-1">SAVE</button>
<button id="submit-btn" data-umami-event="Submit Paste" onclick="submit()" role="submit" tabindex="-1">SAVE</button>

<script>
const button = document.getElementById("submit-btn");
Expand Down
2 changes: 1 addition & 1 deletion views/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
content="Paste your text of anything! - {{.Truncated}}"
/>
<meta name="twitter:image" content="https://polarite.teknologiumum.com/assets/social.jpg" />

<script async src="https://analytics.teknologiumum.com/script.js" data-website-id="e11aa95f-e51f-47a0-b478-c5a7f7d83831"></script>
<meta name="HandheldFriendly" content="True" />
<meta name="MSThemeCompatible" content="no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down

0 comments on commit 7f26509

Please sign in to comment.