<commit_before><a href="#" id="scroll-to-top">&uarr; <span>{{site.scrollToTop}}</span></a>

<footer {{#if className}}class="{{className}}"{{/if}} role="contentinfo">

  <div class="container">
    <div class="linuxfoundation-footer">
      <div class="issue-link-container">
        <a class="linuxfoundation-logo" href="http://collabprojects.linuxfoundation.org">
          <img alt="Linux Foundation Collaborative Projects" src="/static/images/lfcp.png">
        </a>
        <ul class="list-divider-pipe issue-link">
          <li><a href="https://github.com/nodejs/node/issues">{{site.reportNodeIssue}}</a></li>
          <li><a href="https://github.com/nodejs/nodejs.org/issues">{{site.reportWebsiteIssue}}</a></li>
          <li><a href="https://github.com/nodejs/help/issues">{{site.getHelpIssue}}</a></li>
        </ul>
      </div>

      <p>© {{copyright}} Node.js Foundation. All Rights Reserved. Portions of this site originally © {{copyright}} Joyent. </p>
      <p>Node.js is a trademark of Joyent, Inc. and is used with its permission. Please review the <a href="/static/documents/trademark-policy.pdf">Trademark Guidelines of the Node.js Foundation</a>.</p>
      <p>Linux Foundation is a registered trademark of The Linux Foundation.</p>
      <p>Linux is a registered <a href="http://www.linuxfoundation.org/programs/legal/trademark" title="Linux Mark Institute">trademark</a> of Linus Torvalds.</p>
      <p>
        <a href="https://raw.githubusercontent.com/nodejs/node/master/LICENSE">Node.js Project Licensing Information</a>.
      </p>
    </div>
  </div>

</footer>

<link rel="stylesheet" href="/static/css/prism-tomorrow.css" media="all">
<script type="text/javascript">
  var $scrollToTop = document.getElementById('scroll-to-top');
  (window.onscroll = function() {
    $scrollToTop.style.display = (window.pageYOffset > window.innerHeight) ? 'block' : 'none';
  })();
  $scrollToTop.onclick = function() {
    window.scrollTo(0, 0);
    return false;
  };
</script>

{{!-- Load Modernizr dynamically for IE10/11 and add test classes for sticky footer with flexbox --}}
<script>
  (function(d,e,m,s){
    if (!/(MSIE|Trident)/.test(navigator.userAgent)){return;}
    m=d.createElement(e);
    s=d.getElementsByTagName(e)[0];m.async=1;m.src='/static/js/modernizr.custom.js';
    m.onload=function(){Modernizr.addTest('flexboxtweener', Modernizr.testAllProps('flexAlign'));};
    s.parentNode.insertBefore(m,s);
  })(document,'script');
</script>

<script src="/static/js/dnt_helper.js"></script>
<script>
  if (!_dntEnabled()) {
    !function(n,o,d,e,j,s){n.GoogleAnalyticsObject=d;n[d]||(n[d]=function(){
    (n[d].q=n[d].q||[]).push(arguments)});n[d].l=+new Date;j=o.createElement(e);
    s=o.getElementsByTagName(e)[0];j.async=1;j.src='//www.google-analytics.com/analytics.js';
    s.parentNode.insertBefore(j,s)}(window,document,'ga','script');

    if (!ga) return;

    ga('create', 'UA-67020396-1', 'auto');
    ga('send', 'pageview');

    document.documentElement.addEventListener('click', function(e) {

      // Track case studies
      if(!e.target || !e.target.dataset || !e.target.dataset.casestudy) return;
      ga('send', 'event', {
        eventCategory: 'casestudy',
        eventAction: 'click',
        eventLabel: e.target.dataset.casestudy,
        eventValue: 0
      });
    });
  }
</script><commit_msg>tracking: fix JavaScript error related to case study tracking (#1155)<commit_after><a href="#" id="scroll-to-top">&uarr; <span>{{site.scrollToTop}}</span></a>

<footer {{#if className}}class="{{className}}"{{/if}} role="contentinfo">

  <div class="container">
    <div class="linuxfoundation-footer">
      <div class="issue-link-container">
        <a class="linuxfoundation-logo" href="http://collabprojects.linuxfoundation.org">
          <img alt="Linux Foundation Collaborative Projects" src="/static/images/lfcp.png">
        </a>
        <ul class="list-divider-pipe issue-link">
          <li><a href="https://github.com/nodejs/node/issues">{{site.reportNodeIssue}}</a></li>
          <li><a href="https://github.com/nodejs/nodejs.org/issues">{{site.reportWebsiteIssue}}</a></li>
          <li><a href="https://github.com/nodejs/help/issues">{{site.getHelpIssue}}</a></li>
        </ul>
      </div>

      <p>© {{copyright}} Node.js Foundation. All Rights Reserved. Portions of this site originally © {{copyright}} Joyent. </p>
      <p>Node.js is a trademark of Joyent, Inc. and is used with its permission. Please review the <a href="/static/documents/trademark-policy.pdf">Trademark Guidelines of the Node.js Foundation</a>.</p>
      <p>Linux Foundation is a registered trademark of The Linux Foundation.</p>
      <p>Linux is a registered <a href="http://www.linuxfoundation.org/programs/legal/trademark" title="Linux Mark Institute">trademark</a> of Linus Torvalds.</p>
      <p>
        <a href="https://raw.githubusercontent.com/nodejs/node/master/LICENSE">Node.js Project Licensing Information</a>.
      </p>
    </div>
  </div>

</footer>

<link rel="stylesheet" href="/static/css/prism-tomorrow.css" media="all">
<script type="text/javascript">
  var $scrollToTop = document.getElementById('scroll-to-top');
  (window.onscroll = function() {
    $scrollToTop.style.display = (window.pageYOffset > window.innerHeight) ? 'block' : 'none';
  })();
  $scrollToTop.onclick = function() {
    window.scrollTo(0, 0);
    return false;
  };
</script>

{{!-- Load Modernizr dynamically for IE10/11 and add test classes for sticky footer with flexbox --}}
<script>
  (function(d,e,m,s){
    if (!/(MSIE|Trident)/.test(navigator.userAgent)){return;}
    m=d.createElement(e);
    s=d.getElementsByTagName(e)[0];m.async=1;m.src='/static/js/modernizr.custom.js';
    m.onload=function(){Modernizr.addTest('flexboxtweener', Modernizr.testAllProps('flexAlign'));};
    s.parentNode.insertBefore(m,s);
  })(document,'script');
</script>

<script src="/static/js/dnt_helper.js"></script>
<script>
  (function(){
    if (!_dntEnabled()) {
      !function(n,o,d,e,j,s){n.GoogleAnalyticsObject=d;n[d]||(n[d]=function(){
      (n[d].q=n[d].q||[]).push(arguments)});n[d].l=+new Date;j=o.createElement(e);
      s=o.getElementsByTagName(e)[0];j.async=1;j.src='//www.google-analytics.com/analytics.js';
      s.parentNode.insertBefore(j,s)}(window,document,'ga','script');

      if (!ga) return;

      ga('create', 'UA-67020396-1', 'auto');
      ga('send', 'pageview');

      document.documentElement.addEventListener('click', function(e) {

        // Track case studies
        if(!e.target || !e.target.dataset || !e.target.dataset.casestudy) return;
        ga('send', 'event', {
          eventCategory: 'casestudy',
          eventAction: 'click',
          eventLabel: e.target.dataset.casestudy,
          eventValue: 0
        });
      });
    }
  })();
</script>
{'fraction_non_alphanumeric': 0.1953753841650812, 'fraction_numerical': 0.006439338504317283, 'mean_word_length': 3.8194640338504935, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 113, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5972996', 'n_tokens_mistral': 2360, 'n_tokens_neox': 2276, 'n_words': 393}