Hi,
I have created a menu item that points to an external URL as described in the reference link you originally replied with.
it generates this html
<a href=”/images/casestudies/ASL_Case_Study.pdf” target=”_blank” data-target=”#”>ASL</a>
I am using Google event tracking, and would like to push an event to google if some on clicks that menu item and its a external url is a PDF file.
One way to do that is to add an onclick event to the href tag… onClick=”ga(‘send’, ‘event’, ‘Button’, ‘Free Edition’);”
I was wondering if there was a way to do that as I can work out how the menus are generated.
Thanks