# M5 Tracking issue: Tracking Email-address click only work once and the second click fail

**URL:** <https://forum.mautic.org/t/m5-tracking-issue-tracking-email-address-click-only-work-once-and-the-second-click-fail/34914>\
**Category:** Product Support\
**Created:** [February 3, 2025, 5:26pm UTC](https://forum.mautic.org/t/m5-tracking-issue-tracking-email-address-click-only-work-once-and-the-second-click-fail/34914 "2025-02-03T17:26:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fkrafft](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fkrafft/32/2220_2.png) [@fkrafft](https://forum.mautic.org/u/fkrafft)\
**Post date:** [February 3, 2025, 5:26pm UTC](https://forum.mautic.org/t/m5-tracking-issue-tracking-email-address-click-only-work-once-and-the-second-click-fail/34914/1 "2025-02-03T17:26:39Z")

</div>

**Your software**  
My Mautic version is: 5.2.1  
My PHP version is: 8.1  
My Database type and version is: MariaDB

**Client environment**  
OS X and Windows  
Chrome  
Outlook

**Your problem**  
My problem is:

1. Segment email containing a link for a email address is sent, the link can be in text or image.

2. The user click on the link in the email from within Outlook, and is redirected in Chrome to Mautic. Most likely for tracking purpose.

3. The user is then redirected from Chrome to their email program Outlook, where a blank email is created to the email address that the user clicked on.

4. The link fail the second time the user click on the email link in the email.  
The second time they click on the email they get stuck in Chrome, it does not redirect back to a clean new email in Outlook.

**Steps I have tried to fix the problem:**  
The problem seem to be specific to Chrome caching.  
When restarting Outlook but keeping Chrome open, then the redirect back to Outlook does not work.  
BUT when you restart Chrome, and keep Outlook open, then the redirect back to Outlook works once.

**Assumption of the issue:**  
Some cache is stored in Chrome, and when the link is clicked on a second time, mailto is not activated.

**Possible fix:**  
Have a random sufix on the url that Outlook can ignore, to make Chrome think it is a new link.

**Other thoughts:**  
Does there already exist a fix for this or?

---

<div class="post-metadata">

**Author:** ![fkrafft](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fkrafft/32/2220_2.png) [@fkrafft](https://forum.mautic.org/u/fkrafft)\
**Post date:** [February 3, 2025, 7:58pm UTC](https://forum.mautic.org/t/m5-tracking-issue-tracking-email-address-click-only-work-once-and-the-second-click-fail/34914/2 "2025-02-03T19:58:15Z")

</div>

**Test 1.**  
I added a timestamp at the end of the redirection url to open outlook, and this did not resolve the issue.

It did not break anything “as far as i have seen so far”, it still works on other mail clients, but only works with one click on outlook, after that it open up chrome but no redirect back to Outlook.

So problem the problem still persist.

**Test 2.**  
I also tested to add mautic:disable:tracking=“true”, to disable the redirect, but this doesnt work. The link is still adjusted and redirected to Mautic. The command doesnt work for both Froala and GrapesJS

Suggestions?

---

<div class="post-metadata">

**Author:** ![fkrafft](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fkrafft/32/2220_2.png) [@fkrafft](https://forum.mautic.org/u/fkrafft)\
**Post date:** [February 5, 2025, 10:44am UTC](https://forum.mautic.org/t/m5-tracking-issue-tracking-email-address-click-only-work-once-and-the-second-click-fail/34914/3 "2025-02-05T10:44:58Z")

</div>

**New feature**  
I will try to add a toggle within the email edit to switch if email address clicks are tracked.

**Additonal, potential bug:**  
The flag stated in the mautic documentation  
`mautic:disable:tracking=“true”`  
does not work.

Would be great if someone can test if its only me that have this issue with the flag not working.  
[https://docs.mautic.org/en/5.x/channels/emails.html](https://docs.mautic.org/en/5.x/channels/emails.html)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/d63b0f62b4bf8bf787b532c5813124933b221e50.png)

Assume its the same issue as:

> <https://github.com/mautic/mautic/pull/12378>
>
> | Q | A
> | --------------------------------…------ | ---
> | Bug fix? (use the a.b branch) | \[Yes\]
> | New feature/enhancement? (use the a.x branch) | \[No\]
> | Deprecations? | \[No\]
> | BC breaks? (use the c.x branch) | \[?\]
> | Automated tests included? | \[No\] 
> | Related user documentation PR URL | none 
> | Related developer documentation PR URL | none 
> | Issue(s) addressed | Fixes \[#28092\](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092) 
> 
> 
> 
> \#### Description:
> I was trying to use the \`mautic:disable-tracking="true"\` attribute for a specific link inside a \*\*Dynamic Content for Landing Pages\*\*. The attribute was removed every time exited the code editor.
> 
> The PR \[#10355\](https://github.com/mautic/mautic/pull/10355) unfortunately did not solved this issue also. I do not really understand why is that so.
> 
> Anyway, I tested the present changes and the the \`mautic:disable-tracking="true"\` attribute is not removed anymore from a Dynamic Content for Landing Pages.
> 
> Issue is described on the forum here: \[#28092\](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092).
> 
> \#### Steps to test this PR:
> 
> I tested like this (I have the GrapesJS plugin deactivated):
> 1. I changed the file \`app\\bundles\\CoreBundle\\Assets\\js\\libraries\\froala\\froala\_editor.js\` manually inside my mautic installation.
> 2. cleared cache
> 3. cleared cookies and site data on the browser
> 4. added a new Dynamic Content with a link and using the \`mautic:disable-tracking="true"\` attribute
> 5. saved and saw that the attribute was not removed and the tracking link was not created.
> 6. also tested the email editor and saw no issues.
> 
> 
> 
> 
> 
> \#### This is not the solution
> 
> As mentioned on \[Slack t-product\](https://mautic.slack.com/archives/CQMKV0RU1/p1684823712540449?thread\_ts=1684789696.430159&cid=CQMKV0RU1), this is not the solution, as it is not allowed a library to be changed.
> 
> Now I face a problem and I do not know how to solve it.
> 
> I suppose that the config file updated by PR \[#10355\](https://github.com/mautic/mautic/pull/10355) is not being considered for the Dynamic Content Editor session.
> 
> I do not know where to look for, to verify my supposition.

---

<div class="post-metadata">

**Author:** ![fkrafft](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/fkrafft/32/2220_2.png) [@fkrafft](https://forum.mautic.org/u/fkrafft)\
**Post date:** [June 2, 2025, 6:16am UTC](https://forum.mautic.org/t/m5-tracking-issue-tracking-email-address-click-only-work-once-and-the-second-click-fail/34914/4 "2025-06-02T06:16:57Z")

</div>

Problem persist.  
Second time someone click on a email link in Windows, then it doesn’t open the email program unless you restart the browser.

Also this function to turn of tracking, found in the manual still doesn’t work:  
mautic:disable:tracking=“true”
