Track menu items without javascript


(JP) #1

Hi there,

I am using Matomo on my Wordpress Site and I am trying to find a way to track clicks on menu items. I have been tracking other links with the very simple html method. But I cannot find a way to apply the html method on my wordpress menu items…

Is there a simple way to do so without having to use JavaScript? Since you cannot add html in WordPress menu backend.

Thank in advance!!!