Jump to main content Jump to doc navigation

Bottom Open Chunk

Deferred JavaScript and Google Analytics tracking.

<script src="ajax.googleapis.com/ajax/libs/jquery/[[++bx.jquery_version]]/jquery.min.js"></script>
<script>
  window.jQuery || document.write(
    '<script src="[[++assets_url]]components/boilerx/js/vendor/jquery-[[++bx.jquery_version]].min.js"><\/script>')
</script>
<script src="[[++assets_url]]components/boilerx/js/plugins.js"></script>
<script src="[[++assets_url]]components/boilerx/js/main.js"></script>

[[++bx.show_comments:if=`[[++bx.show_comments]]`:eq=`1`:then=`
<!-- Change UAXXXXXXXX1 to be your site's ID by setting bx.ga-id System Setting to auto-enable tracking -->
`]]
<[[++bx.ga-id:if=`[[++bx.ga-id]]`:eq=`UAXXXXXXXX1`:then=`!--`]]script>
  var _gaq=[ ['_setAccount','[[++bx.ga-id]]'],['_trackPageview'] ];
  (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
  g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
  s.parentNode.insertBefore(g,s)}(document,'script'));
  </script[[++bx.ga-id:if=`[[++bx.ga-id]]`:eq=`UAXXXXXXXX1`:then=`--`]]>

See Also

[[getResources@section?
    &parents=`1316`
    &context=`extras`
    &limit=`0`
    &resources=`1316,[[*id]]`
]]

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • Chris Fickling
  • CrewMark
  • deJaya
  • Lefthandmedia
  • Murray Wood
  • eydolan
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$301 per month—let's make that $500!

Learn more