<commit_before>#to-do Inject this method with KD.extend!
do ->

  # to-do log to mixpanel after subscription is upgraded
  KD.track = (rest...)->
    logToGoogle rest

  logToGoogle = (rest...)->
    category = rest[0]
    action  =  rest[1]
    # there is nothing to do with the value now
    # value = rest[2]

    trackArray = ['_trackEvent', category, action]
    # log to google analytic<commit_msg>[track] changed parameter sending pattern<commit_after>#to-do Inject this method with KD.extend!
do ->

  # to-do log to mixpanel after subscription is upgraded
  KD.track = (rest...)->
    logToGoogle rest...

  logToGoogle = (rest...)->
    category = rest[0]
    action  =  rest[1]
    # there is nothing to do with the value now
    # value = rest[2]

    trackArray = ['_trackEvent', category, action]
    # log to google analytic
{'fraction_non_alphanumeric': 0.11799761620977355, 'fraction_numerical': 0.007151370679380214, 'mean_word_length': 2.8181818181818183, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7648021', 'n_tokens_mistral': 270, 'n_tokens_neox': 254, 'n_words': 91}