<commit_before><div class="content">
  <div class="container-sm">

    <h1>Thank you!</h1>
    <p>Your donation for <%= number_to_currency(@donation_amount) %> will help us support and promote great journalism like <%= link_to 'these featured projects', featured_index_url %>. You should receive a receipt at the email address you provided. If you don’t, please <%= link_to 'get in touch', contact_url %>.</p>
    <p class="lead">Would you mind helping us get the word out with a tweet?</p>
    <p>
      <a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-text="I just donated to @documentcloud, a service for journalists and their readers. You should donate, too!" data-url="https://www.documentcloud.org/donate" data-dnt="true" data-show-count="false">Tweet</a>
      <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
    </p>

  </div>
</div>

<% content_for :javascript_footer_inline do %>
//  ga('send', 'event', 'Donations', 'Donate', 'suggested_donation:<%= @suggested_donation %>', <%= @donation_amount.to_i %>);
<% end %><commit_msg>Enable GA tracking on donation thanks page<commit_after><div class="content">
  <div class="container-sm">

    <h1>Thank you!</h1>
    <p>Your donation for <%= number_to_currency(@donation_amount) %> will help us support and promote great journalism like <%= link_to 'these featured projects', featured_index_url %>. You should receive a receipt at the email address you provided. If you don’t, please <%= link_to 'get in touch', contact_url %>.</p>
    <p class="lead">Would you mind helping us get the word out with a tweet?</p>
    <p>
      <a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-text="I just donated to @documentcloud, a service for journalists and their readers. You should donate, too!" data-url="https://www.documentcloud.org/donate" data-dnt="true" data-show-count="false">Tweet</a>
      <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
    </p>

  </div>
</div>

<% content_for :javascript_footer_inline do %>
  ga('send', 'event', 'Donations', 'Donate', 'suggested_donation:<%= @suggested_donation %>', <%= @donation_amount.to_i %>);
<% end %>
{'fraction_non_alphanumeric': 0.16391982182628062, 'fraction_numerical': 0.0026726057906458797, 'mean_word_length': 4.773778920308484, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '223604', 'n_tokens_mistral': 748, 'n_tokens_neox': 687, 'n_words': 206}