Project

General

Profile

Actions

Feature #14414

open

Custom scripts in <head>, beginning of <body>, and before <body>.

Added by Anonymous over 11 years ago. Updated over 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Administration
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Hi, I am trying to add Gauges to my Redmine site. I couldn't because there are no options to do so. If you could add this as a setting in Administration > Settings > Display, that would be sweet! -Thanks

Actions #1

Updated by Anonymous over 11 years ago

<script type="text/javascript">
  var _gauges = _gauges || [];
  (function() {
    var t   = document.createElement('script');
    t.type  = 'text/javascript';
    t.async = true;
    t.id    = 'gauges-tracker';
    t.setAttribute('data-site-id', 'IDCODEHERE');
    t.src = '//secure.gaug.es/track.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(t, s);
  })();
</script>

I need to add this before the </body> tag.

Actions #2

Updated by Etienne Massip over 11 years ago

  • Category set to Administration
  • Priority changed from High to Normal
Actions

Also available in: Atom PDF