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
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.
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.
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.
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.
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.
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.
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.