<div class="campaign__other-campaigns">
    <h2 class="campaign__other-campaigns-title">
      <%= @campaign_links[:section_title] %>
    </h2>

    <ul class="campaign__other-campaigns-list">
      <% @campaign_links[:contents_list_links].each do |link| %>
        <li class="campaign__other-campaigns-item"><a href="<%= link[:href] %>"><%= link[:text] %></a></li>
      <% end %>
    </ul>
</div>

<div class="campaign__other-campaigns">
    <h2 class="campaign__other-campaigns-title">
      <%= @campaign_links[:section_title] %>
    </h2>

    <ul class="campaign__other-campaigns-list" data-module="track-click">
      <% @campaign_links[:contents_list_links].each do |link| %>
        <li class="campaign__other-campaigns-item">
          <%= link_to(
            link[:text],
            link[:href],
            data: {
              "track-category": "contentsClicked",
              "track-action": link[:text]
            }
          ) %>
        </li>
      <% end %>
    </ul>
</div>

Add tracking to other campaign links
Add tracking to other campaign links
