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

My Mautic version is: v3.2.0-alpha
My PHP version is: 7.4.3

My problem is:

I’ve created an email template in code mode and added couple of links but the click count of those links is not correct. I’ve also setup some utm params in url and they are also not added into contact. The email open and read count is working fine but the click count is showing way less than that it actually should be.

can you check if your click tracking is still turned on in Settings - Email preferences?
It is tricky: you need to turn off ‘disable this feature’, so OFF will track your emails:


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, click tracking doesn’t work in code mode emails.
It is working for me but the count is not right.