XF 2.2 Track Navbar Links ?

Kml

Member
I'm looking for some guidance on how to track navbar link clicks using Plausible.

According to the plausible documentation, we can use a structure like:

Code:
<button class="plausible-event-name=Button+Click">Click Me</button>

I tried applying a similar approach to track the "What's New" button by adding extra attribute values on the XF navigation/public manager but it didn't seem to work.

Is there a more reliable or recommended way to track link clicks in the navbar using Plausible?

Appreciate any help you can provide!

Best regards,
 
Last edited:
Made it work finally! The correct syntax to add at the extra attributes XF panel Navigation / Public Manager is:

Name Value
class plausible-event-name=Button+Click
 
Back
Top Bottom