Adding Custom JavaScript Code

In UM Theme, there are four fields where you can add your custom JavaScript or jQuery. You can found them in Appearance > Customize > Code. This feature is very useful for adding Google Analytics tracking code, Google Tag Manager or adding Facebook Marketing Pixel.

Here are the 4 options to add JavaScript:

  1. JavaScript Code: JavaScript entered in the box below will be rendered within <script> tags at the footer.
  2. Head Code: Code entered in the box below will be rendered within the page <head> tag.
  3. Header Code: Code entered in the box below will be rendered directly after the opening <body> tag.
  4. Footer Code: Code entered in the box below will be rendered directly before the closing <body> tag.