rybred - 6:12 pm on Sep 21, 2012 (gmt 0)
Hi, just wondering how you suggest getting the redirect page to open up in a new window. I'm a newb, help me out
I currently am tracking my outbound links in google analytics using code as follows:
<a href="http://www.mysite.com/product.html" target="_blank" onClick="recordOutboundLink(this, 'Outbound Links', 'MyOutboundLink1');return false;"></a>
the .html address is the redirect page to my affiliate link
It doesn't seem to consider the target="_blank" when the onclick tracking is in there.
Here is my redirection page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0; url=http://www.affiliateprogram.com/products/some_product?affiliateid=482196">
<title>Affliate product 1</title>
Any suggestions on how to make it open in a new window? For links that don't have the outbound links tracking code, it works fine obviously.