Hi All,
I have been trying to add my Marketo form (under Design Studio) into my Marketo Landing Page (under Marketing Activities) but somehow it's not showing up on the page even after trying on multiple landing pages. It would be of great help to me if someone review the page cofigurations as I am not sure if the form is not showing either because of some custom JS in it or something else. Here are the details:
Landing page link: https://go.nauto.com/VEDR-form-test.html
Here are the screenshots which confirms that it's visible in the Draft section but not showing up after viewing the approved page.:
Solved! Go to Solution.
Quite obvious from the console error that your custom JS file is to blame. https://go.nauto.com/rs/055-HBB-531/images/Email_Script.js isn't valid JS – looking at the top of the file it looks like someone pasted it into an RTF editor like WordPad. Naturally this leaves artifacts behind that make it no longer a plain text file.
(The domain check in the code itself is also functionally broken, by the way. Not only does it not check the domain part correctly, it also is case-sensitive, which is incorrect for domains.)
Try cloning the form, approving it and adding the new form onto your landing page. For some reason your instance doesn't recognise form 1437.
Hi @Jay_Jiang , thanks for your reply. I tried it again as per your suggestions but unfortunately it's not working too.
Here is the link of my Landing page having a cloned form:
https://go.nauto.com/VEDR-form-test.html
can you share your custom javascript?
Also try:
adding the same form to a different landing page
adding a different form to the current landing page
Hi @Jay_Jiang , I tried all the possible ways. I think the main culprit seems to be the custom JS file which Sanford highlighted. However, I am curious to know if this custom JS file is the only error for my issue or there are other things also that needs to be fixed ?
Thank you @SanfordWhiteman . I will request the backend team to remove this file so that I can do the required testing.
You don’t need to do anything on the backend, just remove the reference from the form.
(Also the file is hosted in your Design Studio anyway, most instances don’t have a different team for that area.)
Quite obvious from the console error that your custom JS file is to blame. https://go.nauto.com/rs/055-HBB-531/images/Email_Script.js isn't valid JS – looking at the top of the file it looks like someone pasted it into an RTF editor like WordPad. Naturally this leaves artifacts behind that make it no longer a plain text file.
(The domain check in the code itself is also functionally broken, by the way. Not only does it not check the domain part correctly, it also is case-sensitive, which is incorrect for domains.)
Hi @SanfordWhiteman , thanks for your reply. Does the removal of this custom JS file could make the Marketo form load properly on the Landing page ?