Add JavaScript Code


Administrators can add JavaScript code snippets to the website to add extra functionality. This is commonly used to insert features such as reaction buttons or live social media feeds.


To add JavaScript code, navigate to Website Management > JavaScript Code.  

  1. Click the green plus icon to add new JavaScript.
  2. Enter a Name for the code.
  3. Check Footer JS to put the code in the footer, rather than the location of the embed tag.
  4. Enter the JavaScript code.
  5. Click "Add JavaScript Code" to save changes.
  6. In the table of created JavaScript codes, note or copy the ID next to the code to be embedded.
  7. Navigate to Website Management > Webpages.
  8. Select the webpage on which to embed the code.
  9. In the Webpage Content editor, place the cursor where the code should be inserted.
  10. Click the "AMO Shortcode" button.
  11. Select "Insert JavaScript Code."
  12. Insert the JavaScript code ID into the shortcode tag.
  13. Click "Update Webpage" to save changes.