Valid for MyWebsite Now.

The MyWebsite Now HTML module allows you to use HTML and JavaScript on your website. This article explains how to do this.

Note

The HTML module is not available in all MyWebsite Now plans. If you have any questions about your package, please contact IONOS Customer Service.

Open the MyWebsite Now editor

  • Log in to your IONOS account.
  • In the title bar click on Menu > Websites & Stores.
  • If you have multiple contracts, click on Manage website in the tile with the name of your online project.
    The Presence Suite for this project opens.
  • In the left menu bar of the Presence Suite, select Website > Website Editor. The MyWebsite Now Editor opens in a new window.

Integrate HTML module

To insert HTML or JavaScript (JS):

  • Select Content in the left-hand menu bar of the MyWebsite Now editor.
  • In the detail window, move the mouse pointer over the desired section and click on the Elements button in the top left-hand corner of the section
  • Select the HTML module button. A freely positionable placeholder is displayed in the detail area.
  • Click on the text HTML Module in the placeholder. An additional toolbar is displayed.
  • Click on Code to insert HTML or JavaScript code.
  • Select the required data protection consent. You can find out more about this in the Add data protection consent section.
  • Finish your entry with Done.

Add data protection consent

In the HTML module, you will find a data protection option below the code input field:

  • Consent required: Your HTML or JavaScript code will only be executed on the MyWebsite Now page after consent has been given by the visitor. Use the New... option to create a new consent rule. Consent rules that have already been created can be reused.
  • No consent required: The HTML or JavaScript code of your HTML module is executed directly when the page is opened.

Execute HTML in the page header (head)

If you place HTML or JavaScript code in the page header of your MyWebsite Now project, it will be used on every page.

  • In the left-hand menu bar of the MyWebsite Now editor, select Settings > Custom Head Code.
  • Enter your HTML or JavaScript code.
  • Select a privacy consent option and finish your entry with Save .