Skip to content

Commit

Permalink
change from google to microsoft
Browse files Browse the repository at this point in the history
  • Loading branch information
0xelsherif committed Apr 3, 2024
1 parent 9211c29 commit 30c2f5e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,21 +235,22 @@ <h3>Follow Me</h3>
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "lqbt8k5pn0");
function trackClick(linkName) {
clarity('track', 'click', {
'name': 'Link Click',
'meta': {
'label': linkName
}
});
}
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HB3RTCNPYN"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-HB3RTCNPYN');
function trackClick(linkName) {
gtag('event', 'click', {
'event_category': 'Link Click',
'event_label': linkName
});
}
</script>
</body>
</html>

0 comments on commit 30c2f5e

Please sign in to comment.