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:
- JavaScript Code: JavaScript entered in the box below will be rendered within <script> tags at the footer.
- Head Code: Code entered in the box below will be rendered within the page <head> tag.
- Header Code: Code entered in the box below will be rendered directly after the opening <body> tag.
- Footer Code: Code entered in the box below will be rendered directly before the closing <body> tag.