<commit_before><% if container %>
<script>
  dataLayer = [];
</script>

<noscript><iframe src="//www.googletagmanager.com/ns.html?id=<%= container %>"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','<%= container %>');</script>

<script>
dataLayer.push(
  <%= events.map(&:write).join(', ') %>
);
</script>
<% end %><commit_msg>The dataLayer.push needs to occur before the container snippet<commit_after><% if container %>
<script>
  dataLayer = [];
</script>

<script>
dataLayer.push(
  <%= events.map(&:write).join(', ') %>
);
</script>

<noscript><iframe src="//www.googletagmanager.com/ns.html?id=<%= container %>"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','<%= container %>');</script>

<% end %>
{'fraction_non_alphanumeric': 0.279020979020979, 'fraction_numerical': 0.004195804195804196, 'mean_word_length': 8.352941176470589, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '5107684', 'n_tokens_mistral': 589, 'n_tokens_neox': 564, 'n_words': 60}