Firing twice for one tracking event

Hi., sorry I am new to matomo, I am using matomo tracking event feature in tag manager → custom html
the code look like this:

on the visitor log I found out there is twice results with the same event look like this:
| <-event-> ‘Help Feedback’ - ‘test’ - title
<-event-> ‘Help Feedback’ - ‘test’ - title
(*note : there is a tab inside the first one)

and i check on the preview, the event only fire once:

I have several question:

  1. how to solve this?
  2. what does it means to have tab and non tab for the same event?

any help will be appreciated, thank you

Hi @iven

Sorry, I don’t understand what you mean… Can you post a screenshot of such a behavior?

Hi @philippe, thank you for your reply :slight_smile:

the example is look like this :

the code look like this :

<script type="text/javascript">
function trackHelpFeedback() {
  var title = $('.helptitle').text();
  console.log('title:', title);
  _paq.push(['trackEvent', 'Contact', 'Email Link Click', title]);

Hi @iven
It seems like the 2nd event, in the log, is not linked to the page.
Maybe the event is sent also before the page view. Or maybe the auto link tracking has been enabled?
What is the full tracking code? (page view and other Matomo trackings)