Skip to content

Commit

Permalink
Merge pull request #6092 from escattone/add-ga-events-1860
Browse files Browse the repository at this point in the history
add GA events for contributor links
  • Loading branch information
akatsoulas committed Jun 28, 2024
2 parents bfc603b + 91efad1 commit 3422541
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 3422541

Please sign in to comment.