From 9211c297ddda8b67a3a2e740c5faf61cc269b95e Mon Sep 17 00:00:00 2001 From: Ahmed Elsherif <119296268+0xelsherif@users.noreply.github.com> Date: Wed, 3 Apr 2024 12:30:54 +0200 Subject: [PATCH] track click --- index.html | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 5866f24..b46185a 100644 --- a/index.html +++ b/index.html @@ -207,11 +207,11 @@

About Me

Follow Me

- - - - - + + + + +
@@ -244,6 +244,12 @@

Follow Me

gtag('js', new Date()); gtag('config', 'G-HB3RTCNPYN'); + function trackClick(linkName) { + gtag('event', 'click', { + 'event_category': 'Link Click', + 'event_label': linkName + }); +}