<commit_before><%= render layout: 'shared/base_page', locals: {
  title: @publication.title,
  publication: @publication,
  edition: @edition,
} do %>
  <div class="interaction">
    <p class="govuk-body">
      We've matched this postcode to <span class="local-authority"><%= @local_authority.name %></span>.
    </p>
    <% if @interaction_details['local_interaction'] %>
      <p class="govuk-body">
        You can get information on their website.
      </p>
      <p id="get-started" class="get-started group">
        <%= render "govuk_publishing_components/components/button", {
          text: "Go to #{@local_authority.name} website",
          rel: "external",
          margin_bottom: true,
          href: @interaction_details['local_interaction']['url'],<commit_msg>Add extra event tracking to local transactions<commit_after><%= render layout: 'shared/base_page', locals: {
  title: @publication.title,
  publication: @publication,
  edition: @edition,
} do %>
  <div class="interaction">
    <p class="govuk-body"
       data-module="auto-track-event"
       data-track-category="postcodeSearch:local_transaction"
       data-track-action="postcodeResultShown"
       data-track-label="<%= @local_authority.name %>">
      We've matched this postcode to <span class="local-authority"><%= @local_authority.name %></span>.
    </p>
    <% if @interaction_details['local_interaction'] %>
      <p class="govuk-body">
        You can get information on their website.
      </p>
      <p id="get-started" class="get-started group">
        <%= render "govuk_publishing_components/components/button", {
          text: "Go to #{@local_authority.name} website",
          rel: "external",
          margin_bottom: true,
          href: @interaction_details['local_interaction']['url'],
{'fraction_non_alphanumeric': 0.1520891364902507, 'fraction_numerical': 0.0, 'mean_word_length': 3.434567901234568, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 26, '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': '242852', 'n_tokens_mistral': 558, 'n_tokens_neox': 541, 'n_words': 120}