<commit_before>//
// Hooks into Segment's analytics object events and tries to mimic the
// equivalent in snowplow.
//

// Segment automatically includes an analytics.page() call so to mimic that
// we send a page view to snowplow here.
snowplow('trackPageView');

analytics.on('track', function(event, properties, options){
  snowplow(event, /*consult Will*/);
})
<commit_msg>Disable Snowplow call for now<commit_after>//
// Hooks into Segment's analytics object events and tries to mimic the
// equivalent in snowplow.
//

// Segment automatically includes an analytics.page() call so to mimic that
// we send a page view to snowplow here.
snowplow('trackPageView');

analytics.on('track', function(event, properties, options) {
  // consult Will
  // snowplow(event);
});
{'fraction_non_alphanumeric': 0.11886304909560723, 'fraction_numerical': 0.0, 'mean_word_length': 4.201342281879195, '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': '2718503', 'n_tokens_mistral': 231, 'n_tokens_neox': 225, 'n_words': 86}