<commit_before>doctype html
html
  head
    title
      == content_for?(:title) ? yield(:title) : "Fabble"
    == content_for?(:stylesheet) ? yield(:stylesheet) : stylesheet_link_tag("dashboard", media: "all", "data-turbolinks-track" => true)
    == content_for?(:javascript) ? yield(:javascript) : javascript_include_tag("application", "data-turbolinks-track" => true)
    == content_for?(:ogp) ? yield(:ogp) : nil
    == csrf_meta_tags
  body
    == render "components/analytics"
    == render "layouts/header"
    == content_for?(:content) ? yield(:content) : yield
    == render "layouts/footer"
    == content_for?(:bottom) ? yield(:bottom) : nil<commit_msg>Add support for google tracking code<commit_after>doctype html
html
  head
    title
      == content_for?(:title) ? yield(:title) : "Fabble"
    == content_for?(:stylesheet) ? yield(:stylesheet) : stylesheet_link_tag("dashboard", media: "all", "data-turbolinks-track" => true)
    == content_for?(:javascript) ? yield(:javascript) : javascript_include_tag("application", "data-turbolinks-track" => true)
    == content_for?(:ogp) ? yield(:ogp) : nil
    == csrf_meta_tags
  body
    == render "components/analytics"
    == render "layouts/header"
    == content_for?(:content) ? yield(:content) : yield
    == render "layouts/footer"
    == content_for?(:bottom) ? yield(:bottom) : nil
    - if ENV['GA_TRACKING_ID']
      script{async src=("https://www.googletagmanager.com/gtag/js?id=#{ ENV['GA_TRACKING_ID'] }")}
      javascript:
        window.dataLayer = window.dataLayer || [];
        function gtag() {
          dataLayer.push(arguments);
        }
        gtag('js', new Date());
        gtag('config', "#{ ENV['GA_TRACKING_ID'] }");

{'fraction_non_alphanumeric': 0.17330210772833723, 'fraction_numerical': 0.0, 'mean_word_length': 3.997076023391813, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '5615539', 'n_tokens_mistral': 570, 'n_tokens_neox': 562, 'n_words': 94}