How can I add HTML badges, ads or javascript code to my pages?

Banner ads, badges and embedded videos are often supplied to you as HTML code and can be added to your site. You should not copy HTML code into your site unless you know what you're doing or the code is supplied to you by a reputable source as making mistakes will likely cause problems.

You have two options for adding HTML code from an external provider to your website. If the code is a banner ad then you would likely use an HTML Link asset. If it is more complicated or long format, then you would likely use the HTML/Text asset.

Using the Link Asset
  1. Copy the code provided to your clipboard
  2. Add a Link Group asset to a page here: Website Controls > Manage Pages & Galleries > Click Edit beneath the appropriate page > Page Content Tab > Add New Content Here button > Link Group Asset
  3. Click the HTML Link Tab
  4. Paste the code where specified
  5. Press the Update button

Using the HTML Asset
  1. Copy all the code between but NOT including the <body>...</body> tags
  2. Add an HTML asset to a page here: Website Controls > Manage Pages & Galleries > Click Edit beneath the appropriate page > Page Content Tab > Add New Content Here button > HTML/Text Asset
  3. Click the Source button at the top left of the HTML editor
  4. Paste your code
  5. Press the Update button
If any javascript code was provided to you as well then you must do the following:
  1. Copy the javascript code block including the <script language="javascript">...</script> tags
  2. Paste the code into the Custom Header Metatag section in the same page you added the HTML

As we cannot guarantee that the pasted code will NOT conflict with ours, you should test your pages in a number of popular browsers on different OS's to make sure it works.

Please make sure to follow these rules when pasting in your own code:
  1. You should be careful to paste in only completed self-contained code. All tags must be opened and closed properly.
  2. Do not add code which includes the <html></html> or <head></head> or <body></body> tags as our pages already include these. You can copy the code between these blocks if necessary.
  3. CSS stylesheets are not supported but you can add CSS to the custom header metatag of the page. Make sure the block starts with <style type="text/css"> and ends with </style>.
  4. Pasting in HTML code created in Microsoft Word is not supported as it tends to cause javascript errors.

Add Feedback