summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/components/like-button.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/components/like-button.html b/layouts/partials/components/like-button.html
index 6a27e5b4..02c084b8 100644
--- a/layouts/partials/components/like-button.html
+++ b/layouts/partials/components/like-button.html
@@ -64,6 +64,8 @@
window.sendLike = function(pageId) {
if (localStorage.getItem("liked_" + pageId)) return;
+
+ umami.track('👍 Hit Like Button');
// 添加点击效果
btnEl.classList.add("clicked");