# Not getting correct click count in email links when using code mode email template

**URL:** <https://forum.mautic.org/t/not-getting-correct-click-count-in-email-links-when-using-code-mode-email-template/17234>\
**Category:** Product Support\
**Tags:** community, discussion\
**Created:** [December 1, 2020, 1:34pm UTC](https://forum.mautic.org/t/not-getting-correct-click-count-in-email-links-when-using-code-mode-email-template/17234 "2020-12-01T13:34:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mohitp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mohitp/32/543_2.png) [@mohitp](https://forum.mautic.org/u/mohitp)\
**Post date:** [December 3, 2020, 1:53pm UTC](https://forum.mautic.org/t/not-getting-correct-click-count-in-email-links-when-using-code-mode-email-template/17234/3 "2020-12-03T13:53:01Z")

</div>

Hi,  
thanks for replying.  
yes click tracking is turned on.  
also tracking works fine when I create email using any existing theme.  
the problem is only with emails created in code mode.  
according to this link [Click tracking not working](https://forum.mautic.org/t/click-tracking-not-working/11770), click tracking doesn’t work in code mode emails.  
It is working for me but the count is not right.

---

_[View the full topic](https://forum.mautic.org/t/not-getting-correct-click-count-in-email-links-when-using-code-mode-email-template/17234)._
