# Link without tracking in a Dynamic Content on Landing Page

**URL:** <https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [May 20, 2023, 3:08pm UTC](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092 "2023-05-20T15:08:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![IonutOjicaDe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ionutojicade/32/7383_2.png) [@IonutOjicaDe](https://forum.mautic.org/u/IonutOjicaDe)\
**Post date:** [May 20, 2023, 3:08pm UTC](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092/1 "2023-05-20T15:08:04Z")

</div>

**Your software**  
My Mautic version is: 4.4.8  
My PHP version is: 7.4.29  
My Database type and version is: 10.3.38-MariaDB-0ubuntu0.20.04.1

**Your problem**  
My problem is:  
I created a **Dynamic Content for a Landing Page**.  
Inside is a Link.  
I added the Dynamic Content on a Landing Page using **Code Mode** template.  
The Link inside Dynamic Content is hashed by Mautic, for tracking purposes.  
I do not need the tracking, so I tried using

`mautic:disable-tracking="true"`

for the link inside Dynamic Content, but **the attribute is every time removed when I exit the CodeView**.

Steps I have tried to fix the problem:

- Found the issue related to email: [Fix `mautic:disable-tracking ` by mabumusa1 · Pull Request #10355 · mautic/mautic · GitHub](https://github.com/mautic/mautic/pull/10355)
- But I need it for Landing Page using Code Mode

Is there a possibility to skip the hashing of the link that are in a Dynamic Content?

---

<div class="post-metadata">

**Author:** ![m.abumusa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/m.abumusa/32/741_2.png) [@m.abumusa](https://forum.mautic.org/u/m.abumusa)\
**Post date:** [May 20, 2023, 3:45pm UTC](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092/2 "2023-05-20T15:45:12Z")

</div>

I am the one who wrote the PR above, we can extend it to dynamic content, I don’t have time at the moment write new code but if want start a PR and I will help you

---

<div class="post-metadata">

**Author:** ![IonutOjicaDe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ionutojicade/32/7383_2.png) [@IonutOjicaDe](https://forum.mautic.org/u/IonutOjicaDe)\
**Post date:** [May 20, 2023, 6:47pm UTC](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092/3 "2023-05-20T18:47:45Z")

</div>

Wow, I would love to have you by my side !  
But, you should take me from zero. I even do not know what do you mean by “start a PR”.  
I know VBA, some API, some C++.  
JavaScript, php and such programming languages … I am a beginner, an amateur.  
Is there a tutorial/video to understand how to start a PR ?

---

<div class="post-metadata">

**Author:** ![jonathan.marsan](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jonathan.marsan](https://forum.mautic.org/u/jonathan.marsan)\
**Post date:** [May 21, 2023, 2:54am UTC](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092/4 "2023-05-21T02:54:04Z")

</div>

> Is there a tutorial/video to understand how to start a PR ?

@IonutOjicaDe Documentation on how to contribute to Mautic is available here: [https://contribute.mautic.org/contributing-to-mautic/developer/code/pull-requests](https://contribute.mautic.org/contributing-to-mautic/developer/code/pull-requests)

I’m sure there are many videos on Youtube on how to start a PR.

I haven’t contributed to Mautic (just evaluating the tool), but one way of doing this would be:

1. Pull [the Mautic repo](https://github.com/mautic/mautic) on your laptop
2. Make changes to the code (changes can be very minor)
3. “Commit” and “push” those changes via a branch to the repository
4. Navigate to the repo and open a PR using the branch you committed

---

<div class="post-metadata">

**Author:** ![IonutOjicaDe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ionutojicade/32/7383_2.png) [@IonutOjicaDe](https://forum.mautic.org/u/IonutOjicaDe)\
**Post date:** [May 21, 2023, 5:43am UTC](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092/5 "2023-05-21T05:43:37Z")

</div>

@jonathan.marsan I must digest your email. Step 2 (make changes to the code) is still an alien world to me.

I suppose I found why the attribute is eliminated. To edit the DynamicContent is not **Froala** being used but **CKEditor**!

When editing the content (the cursor is inside) there pops up another Menu, from the CKEditor.

Menu from Froala, while the cursor is not inside:

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

Menu from CKEditor4, while the cursor is inside editor:

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

**Can someone guide me, where is the list `htmlAllowedAttrs` for the CKEditor ?**

For the Froala, I know now, thanks to @jonathan.marsan github fix ([Fix `mautic:disable-tracking ` by mabumusa1 · Pull Request #10355 · mautic/mautic · GitHub](https://github.com/mautic/mautic/pull/10355))

---

<div class="post-metadata">

**Author:** ![m.abumusa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/m.abumusa/32/741_2.png) [@m.abumusa](https://forum.mautic.org/u/m.abumusa)\
**Post date:** [May 21, 2023, 7:43pm UTC](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092/6 "2023-05-21T19:43:56Z")

</div>

Thanks @IonutOjicaDe, it seems that @jonathan.marsan has kicked off the process of a PR. You can find in Mautic Slack channel, I will help you get your Pull Request (PR) merged and get this bug fixed.

@jonathan.marsan I am amazed that you jumped to help on this topic although you are still evaluating Mautic, is there anything I can do to get you started and contribute to Mautic?

---

<div class="post-metadata">

**Author:** ![m.abumusa](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/m.abumusa/32/741_2.png) [@m.abumusa](https://forum.mautic.org/u/m.abumusa)\
**Post date:** [May 21, 2023, 7:44pm UTC](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092/7 "2023-05-21T19:44:58Z")

</div>

@IonutOjicaDe for the issue itself, I think you are around the right area, we need to make sure the editor used is actually saving the attribute before it is sent back to the PHP code and saved in the database.

---

<div class="post-metadata">

**Author:** ![IonutOjicaDe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ionutojicade/32/7383_2.png) [@IonutOjicaDe](https://forum.mautic.org/u/IonutOjicaDe)\
**Post date:** [May 22, 2023, 6:16pm UTC](https://forum.mautic.org/t/link-without-tracking-in-a-dynamic-content-on-landing-page/28092/8 "2023-05-22T18:16:32Z")

</div>

@m.abumusa thank you also for your support! I am very glad to be part of this community.

I suppose the issue is bigger: I have the GrapesJS plugin disabled, to only use the Froala Editor.  
And here (in Dynamic Content) I see the CKEditor, which belongs actually to the GrapesJS plugin, which is disabled.  
How can that be?

Is CKEditor implemented in Mautic directly? And is being used also without the GrapesJS plugin?  
I thought, by disabling the GrapesJS plugin, I will only use the Froala Editor all over the places where an Editor is needed…

Later edit: the PR is there: [Mautic removes mautic:disable-tracking attribute for links in dwc by IonutOjicaDE · Pull Request #12378 · mautic/mautic · GitHub](https://github.com/mautic/mautic/pull/12378)
