PDA

View Full Version : How to add link to navbar with onClick attribute?


pjkcards
11-13-2015, 07:49 AM
I want to add a link to the navbar like this to track events in Google Analytics:

http://domain.com/r.php?i=1? onClick=?_gaq.push([?_trackEvent?, ?External LinkH?, ?Shop Link?, ?SShop?]);

When I go to AdminCP > Settings > Navigation and I add the link where do I put the onClick? I've tried a few things with no luck.

Thanks.

Dragonsys
11-13-2015, 12:51 PM
You would need to build a plugin to accomplish this.
https://vborg.vbsupport.ru/showthread.php?t=226914