<commit_before>(function() {
  window.lucybot.tracker = function(name, properties) {
    if (window.lucybot.prerender) return;
    window.mixpanel.track(name, properties);
    window.ga('send', {
      hitType: 'event',
      eventCategory: name,
      eventAction: name,
      eventLabel: name,
      eventValue: JSON.stringify(properties),
    });
  }
})();<commit_msg>guard trackers in case ad blocker is installed<commit_after>(function() {
  window.lucybot.tracker = function(name, properties) {
    if (window.lucybot.prerender) return;
    if (window.mixpanel) {
      window.mixpanel.track(name, properties);
    }
    if (window.ga) {
      window.ga('send', {
        hitType: 'event',
        eventCategory: name,
        eventAction: name,
        eventLabel: name,
        eventValue: JSON.stringify(properties),
      });
    }
  }
})();
{'fraction_non_alphanumeric': 0.1410105757931845, 'fraction_numerical': 0.0, 'mean_word_length': 2.908256880733945, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3661937', 'n_tokens_mistral': 271, 'n_tokens_neox': 263, 'n_words': 51}