***This is for ClickBank Vendors NOT ClickBank Affiliates***
I’ve seen this question asked a lot of times over the years here and elsewhere online.
ClickBank provide easy direct tracking for affiliates by simply using the tid=foobar parameter to your hoplinks. Works pretty good.
For ClickBank vendors thought it’s never been so clear cut – how to I track direct sales from my various traffic sources into my own ClickBank products?
The standard workaround is to setup a second pseudo-affiliate CB account and become your own affiliate enabling you to use standard TID parameter. This does work but it’s clunky and separates your earnings between accounts and screws up LTV calculations etc. In short it’s not very elegant and I needed something else.
I’d known for a while about the VTID parameter that ClickBank make available for vendors to use on their buy links. This initially sounds like the the perfect solution but it’s limited as you can only use on buy links on your sales pages – its intended use is for split testing sales pages or buttons etc.
I finally solved my problem with a combination of the VTID and a free little plugin called Cookie Monster. Here are the steps:
1. Download” and install free Cookie Monster plugin
2. In WP Admin>Settings>Cookiemonster add a new url parameter called vtid (you can leave the other options blank)
3. Tweak your ClickBank buy buttons by adding the parameter vtid=[vtid] to the end of the payment URL
e.g. If your payment link is currently:
It now becomes:
4. Now instead of linking direct to your sales page from your traffic sources or mailings you can add the VTID parameter to your URLs.
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 chars) so you can track all your traffic sources.
I thought this was a pretty neat solution that doesn’t involve any 3rd party trackers – just your site and ClickBank. It’s also cookie driven so you get to record successful sales for 30 days even if they browse off the page with buy button.
Now if you’re handy with code (or you’re not using WordPress) you can of course achieve everything I’ve described here without the use of the CookieMonster plugin and without WP shortcodes. You can then use the code directly in your templates etc.
You can use the following example code to set the cookie value, this is PHP of course but you can use whatever you want:
$id = 'vtid'; $value = $_GET['vtid']; $time = time()+60*60*24*180; setcookie($id, $value, $time, '/');
And use the following code to retrieve it and add it to your payment links:
14.profitfm.pay.clickbank.net/?sku=12345&vtid=< ?php echo ($_COOKIE['vtid']!='' ? $_COOKIE['vtid'] : ''); ?>
Comments welcome, this is a beta hack for now but it is working well for me.