Tagged: enfold, google analytics, product list
Hello,
Using this code, I was able to modify the links in the WooCommerce Product List to force them to open in a new tab. Now I would like to be able to track these links as outbound links using Google Analytics. For some reason, this isn’t working with the Yoast plugin, so thought I could modify it in the functions.php.
Any help you could provide is welcome!
Thank you!
Hey Jennifer!
It should work the same way. You can see an example on Ismael’s post here, https://kriesi.at/support/topic/how-to-add-google-analytics-event-tracking-code-to-image-links-and-text-links/#post-326322.
Regards,
Elliott