# Support for mautic:disable-tracking inside mj-button tags

**URL:** <https://forum.mautic.org/t/support-for-mautic-disable-tracking-inside-mj-button-tags/36549>\
**Category:** Ideas and Feature Requests\
**Created:** [September 17, 2025, 5:50am UTC](https://forum.mautic.org/t/support-for-mautic-disable-tracking-inside-mj-button-tags/36549 "2025-09-17T05:50:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew\_c3](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrew_c3/32/13547_2.png) [@andrew\_c3](https://forum.mautic.org/u/andrew_c3)\
**Post date:** [September 17, 2025, 5:50am UTC](https://forum.mautic.org/t/support-for-mautic-disable-tracking-inside-mj-button-tags/36549/1 "2025-09-17T05:50:09Z")

</div>

Hello,

I’m currently running Mautic 6.0.3

I’ve encountered an issue in Mautic when using `mautic:disable-tracking` inside an `mj-button` tag in MJML-based email templates.

Currently, the `mautic:disable-tracking` attribute works as expected on standard tags, but it does not work inside `mj-button` tags. Since MJML is widely used for building responsive emails and `mj-button` is a core component this limitation makes it difficult to exclude certain links (such as unsubscribe, legal, or third-party links) from being tracked when using MJML buttons.

Request

Bug fix:  
Ensure `mautic:disable-tracking` is properly applied to links generated inside `mj-button` tags.

Alternative (if not possible):  
Provide an additional MJML compatible attribute or mechanism that allows disabling tracking for `mj-button` links.

Benefit:  
This would allow users to build fully MJML-compliant, responsive emails without having to switch to raw tags just to disable tracking. It improves consistency and reduces potential deliver-ability or compliance issues.

Thank you for considering this improvement and for your continued work on making Mautic more flexible and user-friendly.

Thanks.

---

<div class="post-metadata">

**Author:** ![adiux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adiux/32/5793_2.png) [@adiux](https://forum.mautic.org/u/adiux)\
**Post date:** [September 25, 2025, 1:29pm UTC](https://forum.mautic.org/t/support-for-mautic-disable-tracking-inside-mj-button-tags/36549/2 "2025-09-25T13:29:06Z")

</div>

Hi @andrew_c3 . I came across the same limitation. The problem is that it is related to MJML. So you would have to create your own MJML to HTML service. That is what I did. Let me know if you would be interested in using our mjml2html implementation. In addition, it allows you to do responsive stuff. E.g. show a button or section only on mobile. More features to come.

---

<div class="post-metadata">

**Author:** ![andrew\_c3](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrew_c3/32/13547_2.png) [@andrew\_c3](https://forum.mautic.org/u/andrew_c3)\
**Post date:** [September 25, 2025, 2:58pm UTC](https://forum.mautic.org/t/support-for-mautic-disable-tracking-inside-mj-button-tags/36549/3 "2025-09-25T14:58:46Z")

</div>

Hello **[adiux](https://forum.mautic.org/u/adiux),**

Thanks for your email and kind offer.

Not being able to disable link tracking inside an mj-button tag is definitely inconvenient. I know Mautic is sanitising html and mjml code and I plan to look at that issue again soon as I think that is the root cause.

I have temporarily disabled all link tracking on my production Mautic instance therefore my mj-button tags work on both mobile and desktop.

However in the near future I will be turning link tracking back on again when I have more time and I will try and create a button without using an mj-button tag as a first step.

I will be back in contact to look at your implementation if I cant come up with an alternate workaround as I need it to work on both desktop and mobile. But I really appreciate your kind offer.

Thanks

---

<div class="post-metadata">

**Author:** ![adiux](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adiux/32/5793_2.png) [@adiux](https://forum.mautic.org/u/adiux)\
**Post date:** [September 26, 2025, 6:51am UTC](https://forum.mautic.org/t/support-for-mautic-disable-tracking-inside-mj-button-tags/36549/4 "2025-09-26T06:51:03Z")

</div>

Sure @andrew_c3, let me know when it becomes interesting to you. I have done a new email builder for Mautic. At the moment, it is only available for Aivie customers. But I will make it available soon to the public. This feature is included. If you have other feature requests, I’m always very interested to hear them.

Will list the plugin here: [Aivie Mautic Plugins](https://aivie.ch/en/product-category/mautic-plugin-en/?utm_source=mautic&utm_medium=forum&utm_campaign=features&utm_content=email-builder)
