You are here:  » monitoring traffic to networks

Support Forum



monitoring traffic to networks

Submitted by paullas on Tue, 2008-11-25 13:21 in

hi

not sure if it is possible but as i am building more and more PT sites is there anyway i can put a tracking ref in the script so when i look in my account say on affiliate window i can see which of my sites are preforming etc

thanks in advance

paul

Submitted by support on Tue, 2008-11-25 14:40

Hello Paul,

Almost certainly. Virtually all the affiliate networks (and certainly all the big ones) allow affiliates to pass their own tracking variables through in the URL. This is the primary mechanism by which cashback and affinity sites track the commission earned by individual users. You would just be using it to track your own performance by site.

In virtually all cases, it simply involves appending a variable to the end of the Buy URL. In the case of Affiliate Window, the variable is called "clickref", so for an Affiliate Window feed you would simply add a Text After filter to the Buy URL field containing:

&clickref=sitename

You would then be able to break your reports down by clikref (sitename) within Affiliate Window. Other networks support exactly the same feature - i'll look up the variable names and update the thread with further information.

Cheers,
David.

Submitted by paullas on Tue, 2008-11-25 16:06

ah cool, that would be great. if i could add something in the PT script maybein the config file then it would be easier,

Submitted by support on Tue, 2008-11-25 16:15

Hi Paul,

That's certainly do-able. Are your sites all with one network so you would just want a global configuration variable to append to the end of every buy URL?

Cheers,
David.

Submitted by paullas on Tue, 2008-11-25 16:23

yes all with affiliate window but might add a few more networks as time goes on

Submitted by support on Tue, 2008-11-25 16:36

Hi Paul,

Ok - first thing then, add a new variable to config.php:

  $config_buyURLAppend = "&clickref=somesite";

Then the new variable must be used in 2 places. Firstly in includes/tapestry.php, look for the tapestry_buyURL function, beginning on line 45, and replace it with this new version:

  function tapestry_buyURL($product)
  {
    global $config_baseHREF;
    global $config_useTracking;
    global $config_buyURLAppend;
    if ($config_useTracking)
    {
      return $config_baseHREF."jump.php?id=".$product["id"];
    }
    else
    {
      return $product["buy_url"].$config_buyURLAppend;
    }
  }

Finally, in jump.php (this will handle the case where tracking is enabled), replace the following code on line 14:

header("Location: ".$product["buy_url"]);

...with:

header("Location: ".$product["buy_url"].$config_buyURLAppend);

Cheers,
David.

Submitted by paullas on Tue, 2008-11-25 17:17

ive added the above and clicked a few items but wheni logged in to AW i cannot see any click refference to the site?

Submitted by support on Tue, 2008-11-25 17:22

Hi Paul,

I'm not sure the reporting is immediate. If you have tracking enabled on your Price Tapestry site I would recommend temporarily disabling this to double check the the resulting buy URLs are correct after making this modification. I'm not sure how quickly the reports on Affiliate Window that include clickref are updated (I don't use this feature myself), but I would be surprised if it is instant, or even within a few hours as all statistics are most likely updated on a batch basis.

If you are seeing the clicks now of course and you are satisfied that the URLs are correct it's probably worth contacting Affiliate Window to make sure that you are implementing clickref correctly...

Cheers,
David.

Submitted by paullas on Tue, 2008-11-25 17:25

ok thanks, ill give them till tomoz and make a note then look at the results tomoz... thanks fo your time david, very much appreciated...