Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:13
Milonic menu & Google Analytics onClick events
Poster: noblemarine
Dated: Tuesday February 28 2006 - 12:38:52 GMT
I use the milonic menu and want to add some onclick events to track users who click on certain links in my menu. The links are to pdf documents so cannot be tracked using standard hit counters.
Google analytics allows you to add an onclick attribute to standard links as follows:
Code:
<a href="pdfs/document.pdf"onClick="javascript:urchinTracker ('/pdfs/document.pdf');">
How do I add this onclick event to a link in the milonic menu?