Importing landing page template | Community
Skip to main content
Eoin_Lyons1
Level 2
June 12, 2019
Question

Importing landing page template

  • June 12, 2019
  • 4 replies
  • 4306 views

I'm trying to import a landing page a template that I downloaded online. 

The import feature won't allow to upload the whole folder at once. Is there a way for me to upload all the images, css files etc. at the same time so that I don't have to re-host them individually and find the place the url needs to be added to the main email html?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Level 7
June 13, 2019

Hi @Eoin,

 The images most certainly would need to be hosted on Marketo itself - in the design studio -> Images and files. Once this is done the new URL created for the image (Within Marketo) would need to be referenced.  And ss far as I understand, the CSS files also would need to be re-done as per Marketo email editor coding practices.

Best Always,

Karan Hari

Jay_Jiang
Level 10
June 13, 2019

Marketo's landing page and file hosting isn't a blank folder where you can simply paste another folder, but it's not hard to "import" a landing page

  • Host your assets either on your own file server or in Marketo (hosting on your own server makes things easier since you can preserve the folder structure).
  • Create a new landing page template and paste the HTML in there.
  • Use find and replace to prepend or replace base URLs of assets in the LP template.
  • If you're hosting css or js assets in Marketo, don't forget to find and replace any src URLs in these files too
Eoin_Lyons1
Level 2
June 27, 2019

Great - thank you!

Dave_Roberts
Level 10
September 6, 2019

... and for a little icing on the cake...

While it doesn't make a difference in terms of the file path, I still like to setup a folder structure similar to what you'd see outside of Marketo. When I create a new template, I'll create a new folder inside the images/files folder for my template and then nest the "sub-directory" folders inside that.

Something like:

> Images/Files 

  • 19q3 LP Template Assets
    • images
    • css
    • js

All the files will still come from the same ".../images/" folder in Marketo, but this lets me stay a little more organized as I work and I think it's helpful for anyone who'd come behind me to pick up this project in terms of being easy to understand and find things.