# Landing page editor rewrites code

**URL:** <https://forum.mautic.org/t/landing-page-editor-rewrites-code/1850>\
**Category:** Product Support\
**Created:** [May 18, 2015, 5:22pm UTC](https://forum.mautic.org/t/landing-page-editor-rewrites-code/1850 "2015-05-18T17:22:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![c0nart1st](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@c0nart1st](https://forum.mautic.org/u/c0nart1st)\
**Post date:** [May 18, 2015, 5:22pm UTC](https://forum.mautic.org/t/landing-page-editor-rewrites-code/1850/1 "2015-05-18T17:22:57Z")

</div>

Hello everyone!  
  
  
  
I’ve been trying create a landing page that mimics an existing page on my client’s site used for setting appointments. Many of our recent email campaigns have included a link to set their next appointment, so I wanted to create a landing page so I could exact more information on whether they’re converting from the emails or finding the page via organic means or visits. However, when I try to use the landing page custom html tool, it butchers my code (various scripts stop working, certain spans disappear). Has anyone else had this problem? Is there a solution? (I did visit [https://github.com/mautic/mautic/commit/c78cbd628a4d0398c339ee5c087cfe4928799369](https://github.com/mautic/mautic/commit/c78cbd628a4d0398c339ee5c087cfe4928799369)) and make those changes hoping that it would solve the problem, but I don’t notice a difference.  
  
  
  
Is there a better solution than trying to force Mautic to allow my code? Would it make sense to create a blank landing page and have it redirect to the ~real~ version of the page, or would this invalidate any attempts at tracking?  
  
  
  
Thanks,  
  
  
  
Conor M

---

<div class="post-metadata">

**Author:** ![c0nart1st](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@c0nart1st](https://forum.mautic.org/u/c0nart1st)\
**Post date:** [May 18, 2015, 5:22pm UTC](https://forum.mautic.org/t/landing-page-editor-rewrites-code/1850/2 "2015-05-18T17:22:57Z")

</div>

Hello everyone!

I’ve been trying create a landing page that mimics an existing page on my client’s site used for setting appointments. Many of our recent email campaigns have included a link to set their next appointment, so I wanted to create a landing page so I could exact more information on whether they’re converting from the emails or finding the page via organic means or visits. However, when I try to use the landing page custom html tool, it butchers my code (various scripts stop working, certain spans disappear). Has anyone else had this problem? Is there a solution? (I did visit [https://github.com/mautic/mautic/commit/c78cbd628a4d0398c339ee5c087cfe4928799369](https://github.com/mautic/mautic/commit/c78cbd628a4d0398c339ee5c087cfe4928799369)) and make those changes hoping that it would solve the problem, but I don’t notice a difference.

Is there a better solution than trying to force Mautic to allow my code? Would it make sense to create a blank landing page and have it redirect to the ~real~ version of the page, or would this invalidate any attempts at tracking?

Thanks,

Conor M

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 11:00pm UTC](https://forum.mautic.org/t/landing-page-editor-rewrites-code/1850/3 "2020-02-02T23:00:01Z")

</div>


