Skip to main content

Custom Code

Menu path: Admin -> Settings -> Custom Code

Route: /admin/settings/custom-code

Use this page to add custom code without editing source files.

Main fields

  • Manual Code in Head Section
  • Custom Javascript
  • Custom Css Style

When to use the head section

Use Manual Code in Head Section when a third-party service asks you to place code inside the website <head> area.

Common examples:

  • verification tags
  • analytics scripts
  • ad network global scripts
  • site-wide tracking code

If you want to place ad code inside a prepared ad position on a page, use:

That page is for visible ad blocks.

Common use cases

  • Verification tags
  • Analytics scripts
  • Small front-end customizations
  • Extra CSS for design changes

Important note

Custom code runs on your website, so incorrect code can break layout or functionality. Save carefully and test after every change.

If your ad provider gives you:

  1. one script for the site head
  2. one display block for a page slot

Then the correct flow is:

  1. Put the head script in Manual Code in Head Section
  2. Put the display block code in Advertisements