Forum Moderators: DixonJones
Our paid google links look like this
www.mysite.com?np_cid=3
where np_cid=X is the affiliate type that I assign google or Overture of whatever.
Using our analytics product (or anything else you might suggest ;) How can I work out whether a visit is Organic or Paid?
We use client tagging (javascript) as our method of tracking.
Keep in mind the frameset and the issues that can create.
For the record we use Pilot Hitlist by Pilot software for our analytics product.
this is driving me nuts. There must be a way to accomplish this...but Im not sure what exactly?
cheers
brassOnes
I haven't test it out, but you can try something like this on your landing page:
<script language="JavaScript">
var getURI=top.location.search;
var ppc = getURI.match(/np_cid=/i);
if (ppc){
// come from your ppc campaign
}
elseif (document.referrer!= ""){
// come from search engine
}
else{
// no np_cid, no referer : user type the url directly
}
</script>
where 'top.location.search' will grab the url although your inside a frame.