Custom HTML, CSS, and JavaScript codes

Last updated: July 20, 2022 Written by: Avatar Magdalena Dejnak
share
Table of contents
share
Table of contents

In Landingi, you can add your own HTML, CSS, and JavaScript codes to create custom actions and visuals for your landing pages and extend their functionality.

Browse our Help Center:

Please note that we are not able to provide full technical support for custom scripts that are not listed in our Help Center.

Watch our video tutorial:

Add custom HTML

NOTE: The HTML widget is not available with the Core plan.

1. Log in to your Landingi account and go to the editor of your landing page.

2. On the left side of the editor, find the HTML widget, then drag and drop it into the active area of your landing page.

html widget

3. Double click on the widget to start editing.

4. Add your custom HTML code. Save & close.

You will see the HTML action once you have published your landing page.

Add custom CSS

1. Log in to your Landingi account and go to the editor of your landing page.

2. Navigate to Page Settings (right side of the editor) and click Add custom CSS.

When editing, click on the arrow to return to Page Settings.

3. Add a custom CSS code to your landing page (1) and/or to the conversion page (2). Then Save & close.

4. You can add multiple CSS codes. Paste them one below the other (the @import rule should be above the others).

You will see the CSS action once you have published your landing page.

Add custom JavaScript

With JavaScript codes, you can implement for example chats, conversion pixels, tracking codes, sliders, or animations.

Go HERE to learn how to add the same JavaScript code for all landing pages.

NOTE: If you want to add meta tags to your landing page, do not use the JavaScript Code tab to do so. You can do this by editing Page Settings in the editor. Learn more here.

1. Log in to the platform and go to the Landing Pages (1) tab. Navigate to the Dashboard (2) of the landing page to which you want to add a code.

2. Go to the JavaScript Code tab and click Add script.

3. Name your script (1) and paste the code into the Content (2) field.

Choose the Position (3) for your code:

  • head,
  • body top,
  • body bottom

and the Page (4):

  • main page,
  • conversion page,
  • both.

Click Save (5) to add the script to your landing page.

4. Check if the code works correctly on your landing page.

Please, remember that we are not able to provide technical support for custom scripts added to your landing page.

5. Once created, you can edit a script, temporarily disable or permanently delete it. To do this, go to the JavaScript Code tab, find the script and click on More (three dots), then click on one of the actions:

  • Edit
  • Disable/Enable
  • Delete

share

Was this manual helpful?