Keywork Tracking In Clickbank (w/Google Tracking URL)

tjalee's picture

Hi All,

I am new to Clickbank and just got my first sale today! However, I would like to know which keyword from my Google PPC campaign generated this sale. I read Jeremy's tutorial on how to track keywords using PHP, but it only shows how to use it with CJ.

I also saw that Clickbank is now offering a TID function, but do not know the proper code to use when I want to track keywords from Google (using a tracking URL).

Can someone please help me out?

Thanks!

richr's picture

When you create your hoplink at CB put in a tracking code:

http://nickname.vendorID.hop.clickbank.net/?tid=trackingid

Then just follow the example in HPAM for creating your urls for each keyword in your PPC campaign. You will need to send traffic from your PPC campaign to a landing page where you have a php script to extract the tracking code from the url.

http://www.mydomain.com/landing-page.html?gaw+101

Then you append it to the hoplink you created above:

http://nickname.vendorID.hop.clickbank.net/?tid=gaw+101

Rich

tjalee's picture

I inserted the PHP code as shown in Appendix A in Jeremy's eBook.

I just got a sale through Clickbank, but no TID showed up. Here is what I did.

1. Inserted this code for every hoplink on my landing page (which is a PHP file):

http://affiliate.publisher.hop.clickbank.net/?tid=<?php echo $_GET['keyword'] ;?>

2. Created a destination URL in AdWords for each keyword, as follows:

http://www.landingpage.com/index.php?keyword=STRAYCATS&search_engine=Google

This is exactly what Jeremy shows in his eBook.

1. Am I doing something wrong?
2. Does the PHP code work with Clickbank at all?

Thanks for the help!

SKaze's picture

Hi,

PHP works with CB alright, i'm tracking lots of sales every day with that. Regarding your example I don't quite understand why you do the ...?tid= in a file which is already PHP. Thats for inserting PHP in non-PHP files. For a PHP page, just write ...?tid=$_GET['keyword'] and it should work alright if you passed the ?keyword=.. in your SE link.

Regards,
Sergey

tjalee's picture

Skaze,

Thanks for the info! I am new to PHP, so I was just following Jeremy's steps in the eBook. I will change my hoplinks to what you said and start tracking my sales. Thanks!

Tjalee

SKaze's picture

No problem, best of luck with your business and don't hesitate to ask questions here, there are numerous knowledgeable people around on the forum. Clickbank is a bit tough to start out with, though :)

mmuise's picture

I understand the process for tracking CB sales through a landing page, but I'm just testing out an offer through direct linking to the merchant page.

Any advice on how I can track sales through a PPC campaign if I'm direct linking?

Moe

Anonymous's picture

Just add "?tid=yourparam" to the destination URL and you'll see it in the CB sales stats.

mmuise's picture

Thanks for clarifiying that.

Now I have a related question: how do I track individual keywords in a direct-linking campaign AND cloak my affiliate link?

If anyone could point me to a step-by-step explanation of how to do this, I would greatly appreciate it (I would also pay for someone to teach me. PM me if you're interested).

Moe

skeever's picture

php redirect

create a new php file in your html editor of choice, i use dreamweaver & take this line of code

<?php header( 'Location: http://xx.yy.hop.clickbank.net' ) ;?>

change http://xx.yy.hop.clickbank.net in the above code to your affiliate url

then save it as something like signup.php or apply.php or whatever you want. Upload it to your server

then use the url for that file, such as www.mydomain.com/signup.php

When they click on your link the signup.php file will redirect them to your affiliate url and to them it looked like

www.mydomain.com/signup.php

instead of

www.http://xx.yy.hop.clickbank.net

Hope that helps.

-skeever

Twitter Me This....
www.twitter.com/skeever

skeever's picture

ok, so I just re-read the previous question and somehow missed the "direct linking" part, I aplogize to get ahead of things. This won't work with direct linking, unless you have your own domain and hosting as you could still use that as your destination url. If you do have hosting, I think this is a cool, pretty simple way to cloak your aff links.

-skeever

Twitter Me This....
www.twitter.com/skeever

mmuise's picture

Thanks a lot for your help, skeever.

I have a domain and hosting, and you've answered my question about the link-cloaking. Do you know how I set it up to also track which keywords make sales?

Moe

skeever's picture

You just append the appropriate php code at the end like in previous discussion above.

http://mydomain.com/signup.php?tid=$_GET['keyword']

I believe that is what your looking for...someone correct me if Im wrong, I run my tracking through tracking202 and its similiar to that.

Here is another post I found on the subject where Jeremy chimed in, good stuff

http://www.quityourdayjob.com/node/1229

-skeever

Twitter Me This....
www.twitter.com/skeever

mmuise's picture

Thanks again, skeever - much appreciated.

I'll also check into tracking202, which I've heard Jeremy mention.

Moe

Syndicate content