Bit stuck on trying to track affiliate clicks in GA, I have the code but cannot get it to work on the product pages. The code I need to add to the link is as follows
<a href="http://www.example.com" onClick="recordOutboundLink(this, 'Outbound Links', 'example.com');return false;">
my 'orginal' datafeedr product selection code is
<a href="[product.url]" class="dfbutton dfblack dfmedium dfrounded" title="Buy this product" target="_blank">Click here for more information</a>
I am having issues merging these two codes together. Any help would be great please.
It will allow me to be able to track the growth/decline in out going clicks from my datafeedr stores