View Single Post
  #1  
Old April 1st, 2012, 03:37 AM
digitalcow digitalcow is offline
 
Join Date: Jun 2010
Posts: 494
Default Tracking affiliate clicks in Google Analytics

Eric

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
PHP Code:
<a href="http://www.example.com" onClick="recordOutboundLink(this, 'Outbound Links', 'example.com');return false;"
my 'orginal' datafeedr product selection code is

PHP Code:
<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