Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By eckersley on
Greetings.
I am trying to add an onclick tracking functionality with specific strings to my menu links. I'm using PathAuto to generate the menu links in the Omega theme.
The output code would resemble this:
<a href="example.html" onclick="trackLink('nav:example', 'Nav|Example');">Example</span></a>
Any help would be greatly appreciated.
Comments
Javascript
It sounds that you could do that in your
.js file
as this:
http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/233...
and add the js in the template file or info file in omega