Hi Kriesi-Team,
I woult like to add a code-snippet to a link. For using one part of Google Analytics we have to add
onClick="ga('send', 'event', 'Click', 'Download', 'PDF');"
to the link. But using the page builder (for example: I use the icon box and insert a link that apply to the title and icon) or using the layer slider an paste a picture with a link, I have noch chance to edit the Link. How can I add this code schnippet to the html-code? Is it possible to edit the whole html-code of the page directly?
Regards
Sandra
Hi tredition!
Try doing this, http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/, and then in the debug view of your layout editor you can surround the icon box with a link.
<a href = "#" onclick = "your code here">
[icon_box]
[/icon_box]
</a>
Best regards,
Elliott