Google Adwords Conversion Tracking For Action Bar
<a onclick="return gtag_report_conversion('tel:80 0-123-4567');" href="tel:800-123-4567">Call now!</a>
Add the code to a button:
<button onclick="return gtag_report_conversion('tel:80 0-123-4567')">Call now!</button>
<img src="call_button.gif" alt="Download Whitepaper" width="32" height="32" onclick="return gtag_report_conversion('tel:80 0-123-4567')" />
Comments
Hi,
It's not possible to insert an onclick="" in Action Bar.
To make it happen, you have to edit theme files.
All I can suggest is to insert it in Column item.
Column item allows inserting HTML code.
Thanks