How to Track Your Sales as a ClickBank Vendor

tracking-vendor-salesClickBank provides an easy way for affiliates to track sales by simply adding the TID parameter to the end of a hoplink.  Here’s an example of what this looks like…

(See What is a ClickBank TID for more info.)

However, for ClickBank vendors tracking sales is not as easy.  As a vendor you may want to track sales from your own promotions and various traffic sources.

One method to track your own sales as a vendor is to create a second ClickBank account and run your promotions through the account as an affiliate.  This allows you to become your own affiliate enabling you to use the standard TID parameter.  This method will work, however the process can be clunky and separates your earnings between two ClickBank accounts. This method can also make calculating your customer lifetime-value, or EPC more difficult.  For these reasons setting up a second ClickBank account for tracking purposes is not always practical.

Another method to track sales as a vendor is to use ClickBank’s VTID parameter (Vendor TID). Vendors append the VTID to the end of their payment links as seen below…

The VTID is a good tracking system for vendors who want to split test sales pages, or track sales from different sales pages.  However, limitations arise when a vendor wants to track their own promotions to a single sales page.  Since the VTID can only be appended to a payment link and only reside on your sales page, the solution is the make the VTID variable dynamic.  In other words, the VTID variable will need to be added to the link in the ad or promotion itself, then carried over into your sales page and dynamically added to the end the payment link.

Making the VTID dynamic can be achieved by setting the VTID value in a cookie using either basic PHP programming, or if you’re using WordPress, a free plugin called Cookie Monster…

Here are the steps to set up dynamic VTID tracking with WordPress and the Cookie Monster plugin:

  1. Download and install the Cookie Monster plugin
  2. In WP Admin>Settings>Cookiemonster add a new url parameter called vtid (you can leave the other options blank)
  3. Edit your ClickBank payment links by adding the parameter vtid= to the end of the payment URL

    For example, if your payment link is currently:

    It now becomes:

  4. Now in your advertising, mailings, or other promotions you can add the VTID parameter to end of your URL:

If you’re not using WordPress you can still set your own cookie using PHP and achieve the same results.

You can use the following example code to set the cookie value using PHP:

$id = 'vtid';
$value = $_GET['vtid'];
$time = time()+60*60*24*180;
setcookie($id, $value, $time, '/');

Then add the following code to to your payment links:<?php echo ($_COOKIE['vtid']!='' ? $_COOKIE['vtid'] : ''); ?>

Inside ClickBank Analytics your new VTID will be shown next to all sales that come from that traffic source and you can put any value as your VTID (up to 24 characters) so you can track all your traffic sources.

Have questions, comments, or your own code to track your sales? Leave a comment below.

We’d like to thank ProfitMarketer for allowing us to reuse content from their original post on this topic.

Leave a comment...