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

Anonymous’s picture

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