Email click Tracking not working 3.01

Your software
My PHP version is : 7.2.32
My MySQL/MariaDB version is (delete as applicable): MariaDB version 10.2.32

Your problem
I have installed muatic 3.01 and it working perfectly, we have hosted in public. we are able o send email. i also installed mautic plugin in my word press website.

My problem is :
when i send email with links. the system does not show the click counts. can any one help me where i am wrong. and how to troubleshoot.

Steps I have tried to fix the problem :
Installed tacking code in website.
also installed muatic plugin in the wordpress website.

Who are you sending emails through ?
Mautic should track clicks by itself, however it is also possible to configure the web hook on esp side to send back this information to Mautic

HI, I am sending email to segments. i have coded email. do i need to add tracking code to email html body.
Thanks in advance
Ganesan

Hi @ganesanv - what email service provider are you using to deliver your emails ? Sendgrid/Sparkpost/ā€¦

we are using Amazon SES, for delivery

Any help on the above subject

Hi,

Did any one find a solution for this. Some of my 3.3.3. installations are having this issue where as some with the same version donā€™t.

Any ideas as to a possible solution or a way to further investigate it?

Thanks

This feature works properly with M3, so the issue might be somewhere else.
Can you plz check if you didnā€™t disable click tracking in Config - Email - Disable Trackable URLs should be set as know if you want to enable tracking.

Thx,
Joey

Hi Joey,

Thanks for your reply.
Iā€™ve have tracking settings set correctly.
Itā€™s just weird and I canā€™t find a the reason why one of my installations is tracking perfectly and an other isnā€™t.

Iā€™ve tried with a clean MJML theme, an edited MJML theme and sometimes itā€™s tracking and sometimes it isnā€™t.

Is there anything else I could research?

Thanks again!

Al

Often what happens is, that you log in as admin to Mautic, and then test clicks in emails. Wonā€™t work.
As admin your clicks are not tracked. You need to open a new browser, where you havenā€™t logged in before or cleared the cookies.

Thanks Joey,

I really appreciate your taking the time to help out here.
The issue isnā€™t so much with the tracking of trackable urls. If they are available, https://mautic-url.com/r/xxxxxx

But the issue is more with the fact that some urls are not re-written to this Mautic tracking url.
I think it might have to do with the MJML code. For example if I use a standard theme with some links in it. The links are re-written, but after editing the email template and adding extra urlā€™s in the mail, the re-writing of the urlā€™s disappears and the hyperlinks are not trackable. Except for the urlā€™s that are unchanged in the original theme.

Maybe this gives some extra insight.

Thanks again,

Al

I would update my system in your case.

Thanks again.
To what version would you suggest. Because I am running version 3.3.3.

Regards,
Al

Oh sorry, I saw above you have 3.0.1. Now I realised itā€™s not you :slight_smile:
Are you saying the link is the original link you had not overwritten by Mautic?

Hi Joey,

Thatā€™s correct. The original link is not overwritten and thus not trackable.
When I use an original MJML template I noticed that although most links are overwritten, in some cases not all the links are overwritten with the Mautic trackable URL.

But so yes, that is the case.

Thanks again for taking the time.

Rgrds,
Al

And the ā€˜not overwrittenā€™ links work? I mean they are functioning links?

Yep, the links work

Iā€™ve double checked that.

Thanks

Hi Joey,

I have solved the issue of the email links not being replaced by the trackable Mautic links.
It had to do with the MJML template/theme.

For some reason the code at the top of the theme was incorrect.
ā€¦
Although there was nog indication that the code was incorrect it did not correctly process the published email.

Thanks for all your help.

Al

1 Like

Hi, is it a built-in theme?
Thx, joey

Hi Joey,
Itā€™s was one of the edited built-in MJML theme.
But it wasnā€™t specific to any theme.
It had to do with the code. I think that there was something wrong with the (mjml), (head) and (body) tagā€™s. I may be that the mjml open tag was on the wrong position. (after the head tag)
Iā€™ve replaced the < with ( in this comment because it could be replaced by this forum editor.

(mjml)
(mj-head)
(mj-font name=ā€œUbuntuā€ href=ā€œhttps://fonts.googleapis.com/css?family=Ubuntu:400,500,600,700ā€/)
(mj-attributes)
(mj-all font-family=ā€œUbuntu, Lato,Helvetica, Arial, sans-serifā€)
(/mj-all)
(mj-style)
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: none !important;
font-size: inherit !important;
font-family: inherit !important;
font-weight: inherit !important;
line-height: inherit !important;
}
(/mj-style)
(mj-class name=ā€œdescriptionā€)
(/mj-class)
(mj-class name=ā€œpreheaderā€ color="#000000" font-size=ā€œ11pxā€ padding-left=ā€œ25pxā€ padding-right=ā€œ25pxā€)
(/mj-class)
(mj-class name=ā€œbuttonā€ background-color="#fcc245" color="#000000" font-size=ā€œ18pxā€ border-radius=ā€œ3pxā€)
(/mj-class)
(/mj-attributes)
(mj-style inline=ā€œinlineā€>a { text-decoration: none!important; }
(/mj-style)
(/mj-head)
(mj-body background-color="#ffffff")