Skip to content

Commit

Permalink
add GA events for contributor links
Browse files Browse the repository at this point in the history
  • Loading branch information
escattone committed Jun 27, 2024
1 parent bfc603b commit 91efad1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions kitsune/sumo/jinja2/includes/common_macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,9 @@ <h4 class="mzp-c-menu-item-title">{{ _('Get help with') }}</h4>
aria-controls="mzp-c-menu-panel-example">{{ _('Close Firefox menu') }}</button>
<div class="sumo-nav--dropdown-col">
<section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item">
<a class="mzp-c-menu-item-link" href="{{ url('forums.forums') }}">
<a class="mzp-c-menu-item-link" href="{{ url('forums.forums') }}"
data-event-name="link_click"
data-event-parameters='{"link_name": "main-menu.contributor-discussions"}'>
<svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24">
<g stroke="#000" stroke-width="2" fill="none" fill-rule="evenodd" stroke-linecap="round"
Expand All @@ -567,7 +569,9 @@ <h4 class="mzp-c-menu-item-title">{{ _('Contributor discussions') }}</h4>
</div>
<div class="sumo-nav--dropdown-col">
<section class="mzp-c-menu-item mzp-has-icon sumo-nav--dropdown-item">
<a class="mzp-c-menu-item-link" href="{{ url('products.product', slug='contributor') }}">
<a class="mzp-c-menu-item-link" href="{{ url('products.product', slug='contributor') }}"
data-event-name="link_click"
data-event-parameters='{"link_name": "main-menu.contributor-tools"}'>
<svg class="mzp-c-menu-item-icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24">
<path
Expand Down

0 comments on commit 91efad1

Please sign in to comment.