Skip to main content
Working With Assets
Updated over 3 months ago

Usage Instructions

1. Use Code editor to edit HTML-code as usual. Use the Preview tab to preview your lander. Read below on how to use lander assets. Lander assets are your resources like images, scripts, and stylesheets.

2. To upload assets, scroll down to the Assets section (below the Code editor).

3. You can upload multiple assets at a time. Currently, you can’t upload or create assets directories. When uploaded, assets will appear in the table below the button. Use the red X button to remove the unneeded asset.

4. To insert an uploaded file on the page, attach assets/ to its file path like this:

<img src="assets/my-awesome-image.png">

5. In the code, you may also use all the placeholders.

Note:

Placeholders are not replaced with values in the Preview mode.

6. To use variables, passed from campaigns, use {lander.param:NAME} placeholder (replace NAME with required variable name).

Note:

Placeholders are working only in the main .html file. It will not work in the .js scripts. If you need computed placeholders (like autogenerated offer URL or the name of the visitor's country) you should place such scripts in the main .html file (not separate .js script file).

Did this answer your question?