Hi,
I would like to track outbound links with Google Analytics.
Is there a way to set links on images like this?
////////////////
<a href="http://outgoinglink.com" onclick="ga('send','event','Outgoing Links','outgoinglink.com')" target="_blank">Link Text</a>
////////////////
Source: https://www.axllent.org/docs/view/track-outbound-links-with-analytics-js/
I've already tried to install https://wordpress.org/plugins/google-analytics-for-wordpress/ but this plugin don't work with Lay Theme (but work with other plugins).
Thank you!