Deploy germain JS scripts for WordPress app


  • Download the JS script from germainAPM → Wizards → Wordpress

Deploy germain APM JS script into Wordpress

  • Find the name of your active WordPress theme (e.g. it is available in WordPress Admin UI / Appearance / Themes)

  • Browse your WordPress source files (e.g. using your FTP client)

  • Upload germain APM JavaScript file to the JavaScript folder in your active theme (location: WORDPRESS_ROOT/wp-content/themes/THEME_NAME/js)

    • Create js folder if it does not exist

  • Edit  functions.php file (location: WORDPRESS_ROOT/wp-content/themes/THEME_NAME)

    • Append the following code at the end of the file and save it:

1 2 3 4 function germain_apm_scripts() {    wp_enqueue_script( 'germain_apm_loader', get_template_directory_uri() . '/js/germainapm.js', array(), '8.6' ); } add_action( 'wp_enqueue_scripts', 'germain_apm_scripts' );

Important requirements

  • germain APM is available for websites using WordPress v3.0.0 or higher

  • germain APM is supported on the following browsers: Google Chrome 13+, Microsoft Internet Explorer 9+, Mozilla Firefox 7+, Opera 15+ & Safari 5.1

  • JavaScript and cookies must be enabled to run germain APM in your browser

  • HTTP/HTTPS outbound traffic must be allowed from your browser(s) to the germain APM environment