diff --git a/app/assets/javascripts/discourse/lib/click-track.js.es6 b/app/assets/javascripts/discourse/lib/click-track.js.es6 index b25dacd98e3..cade30d7408 100644 --- a/app/assets/javascripts/discourse/lib/click-track.js.es6 +++ b/app/assets/javascripts/discourse/lib/click-track.js.es6 @@ -20,7 +20,7 @@ export default { topicId = $('#topic').data('topic-id'), userId = $link.data('user-id'); - if (!href || href.trim().length === 0) { return; } + if (!href || href.trim().length === 0 || href.indexOf("mailto:") === 0) { return; } if (!userId) userId = $article.data('user-id');