Tracking Clickbank Conversions From Google Adwords And Other PPC

Google AdWords is the "King of the Hill" in the PPC arena.  Every year, I spend north of $150,000 in PPC ads with 80% of my spend going to AdWords.  For those around  less SEO savvy, (myself included), AdWords is an excellent medium to drive targeted traffic to any site.

To be successful with AdWords or any other PPC medium, you have to keep track of your clicks versus conversions.  Some keywords will convert into sales better than others.  Some will not convert at all.  This data is critical when determining your bid amount and which keywords you target.

When you are offering a product for sale on your site, you have full control of the infrastructure and can easily setup a mechanism to track clicks versus conversions.     I offer a free guide on my site that includes a script for tracking Paypal transactions with Google Analytics.

These techniques work great when you are in full control of the product being sold, but what about driving PPC traffic to an affiliate network like Clickbank.  In this type of setup, you have zero control over the sales process and don't have the ability to add your conversion tracking code on the "thank you page".  So how can you track PPC traffic you send to another site?

There are a couple of methods for this.  In my experience, one works best of all, but I'll share each of them and the final decision can be yours.  These techniques can be easily modified to work with any affiliate or PPC network.

Creating Unique Keyword Identifiers

No matter what technique you use, the first thing you should do is setup your keywords and PPC ads for tracking.  There are easier ways to do this, but I recommend assigning a unique identifier to each keyword that can be placed in the URL.  This keeps my data secure from prying eyes at affiliate companies and assures only I reap the benefits of my testing.

If I were setting up three keywords for advanced tracking and planned on sending them directly to a Clickbank affiliate site, I would assign each of them a unique identifier and URL like the example below.

wagons - Identifier =1 - Unique URL =

red wagons - Identifier =2 -  Unique URL =

toy wagons - Identifier =3 - Unique URL =

If I were sending the visitors to my website first, I would setup the urls and the unique identifiers similar to the following.

wagons - Identifier =1 - Unique URL =

red wagons - Identifier =2 -  Unique URL =

toy wagons - Identifier =3 - Unique URL =

This should work fine with any server.  You put the ?kw= at the end of the url you want to send the visitor to followed by the unique identifier for that keyword.  Google AdWords makes creating unique URLs pretty easy, especially if you are using Google Adwords Editor.

Clickbank Conversion Tracking - Sending PPC Traffic Directly To An Affiliate Sales Page

This is the easiest of all the methods and the one I recommend the least.  It involves sending traffic directly to the affiliate sales page.  I don't like this technique because it prevents me from having interaction with the visitor and passes them directly to the affiliate site.  I'd much rather have the chance to get their email address and encourage them to bookmark my page or subscribe to my blog.  But if this is the method you choose, setting it up is easy.

Clickbank tracking works simply by placing the following after you affiliate URL.  ?tid=keyword You can substitute "keyword" for any eight characters containing alpha or numeric values. You should make this identifier a unique value for each keyword.  When you make a sale using this method, Clickbank will display which identifier resulted in the sale.

If you use this method, I'd recommend assigning a unique identifier using the method I describe above.  A lot of affiliate marketers will just plug in the keyword for the tid.  I don't like this method.  I'm not interested in passing my conversion data to the affiliate network.  That's why I prefer to "encrypt" my keyword identifier so only I know which keyword it represents.

Setting Up Your PPC Keywords For Tracking From Your Site

This is my favorite method for affiliate marketing. It gives me the chance to send traffic directly to my site before forwarding them to my affiliate offers.  This way, I have the chance to interact with the visitor and possibly have them sign up for my newsletter, bookmark my site, or subscribe to my blog.

I'll send all the PPC traffic to my site using a URL I created using the method above.  Then on the landing page, I'll place the following php code.

$kw = $_GET['kw'];
if ($kw == "")
$kw = $_COOKIE['kw'];

What this code does is assign a cookie to your visitor named kw.  The value of kw will be the unique keyword identifier that you included at the end of your URL.  Then if the visitor leaves your site without visiting your affiliate links but later returns, the cookie will still be present in their browser and you'll have the opportunity to include it at the end of your affiliate URL for tracking.  Here is how you do that.

You can access the value you recorded as "kw" using the following snippet of code.

<?php echo $kw; ?>

Any place you include that code, the value for "kw" will be displayed.  Here is an example of adding tracking to a Clickbank URL using this method.<?php echo $kw; ?>

Confusing enough?  The process is really simple.  If you need any help, just send me a comment so everyone can benefit.


If you enjoyed this post, make sure you subscribe to my RSS feed!



Tags: , , ,

60 Responses to “Tracking Clickbank Conversions From Google Adwords And Other PPC”

  1. Cert paper Says:

    Nice work man..keep it up.

  2. Guruprasad Says:

    Hello friend,
    i cant clearly understand what you mean. I want you to help me how to implement this in easy steps.
    Also, i have a doubt. If I place a affiliate banner(CJ/clickbank) in my website along with adsense ads. Can i use google adwords CPA for the affiliate banner in my site, so that i can enjoy the adsense earnings from my site by paying to google adwords only when i make a sale. I want to clear this doubt. Please explain me.

  3. Brent Crouch Says:

    Yes, you can have Clickbank and Adsense on the same site and use Google Adwords to send traffic to it. My primary traffic is from Overture and natural traffic. Take a look at my test site.

  4. Sasha Says:

    Thanks for the info. This answered exactly the questions I had. I tried your php code and it is working like a treat.

    One question. Any tips for efficiently making unique keyword identifiers in Google Adword Editor?

    Is there a trick or do you enter them manually?

  5. Brent Crouch Says:

    Hi Sasha,

    I’m glad it worked for you.

    I do have a tip for creating unique keyword identifiers. I’ll try to make a video and post it in the next few days.

  6. Paul Says:


    I’m a little confused here. So are you saying that if I use the second option “Setting Up Your PPC Keywords For Tracking From Your Site” then what happens is someone clicks on my PPC ad, gets directed to my own landing page and when they buy a Clickbank product then my Clickbank stats will still show which Keyword initiated the sale? Even though you don’t use the ‘TID’ anywhere in your second example and hence the confusion. I thought CB needs to see a ‘TID’ in order to make sense of things.


  7. Brent Crouch Says:

    @Paul – There are two parts to the second example. When a visitor clicks your PPC ad and visits your site and you have your destination url coded the way I show above, the keyword identifier will be saved as the variable ‘kw’.

    Then when you setup the url for your Clickbank product, it is going to have the tid in it like in the example below.< ?php echo $kw; ?>

    The advantage of using this code is the variable ‘kw’ is saved into a cookie. If a visitor clicks your ppc ad but doesn’t make a purchase from your site on the first visit, but returns later to at a later date, the unique keyword identifier is saved into the variable kw and will be automatically attached as the tid.

    Make sense?

  8. Paul Says:

    Hi Brent

    Many thanks for the clarification. It all makes perfect sense and I’ve coded up my pages and links and it’s working a treat.

    Much appreciated.

  9. Sasha Says:

    Do you have you any experience with passing a TID through a clickbank pay link?

    I have a site I’m using the kw method to track my keywords from PPC.

    The site they come to is a copy of the clickbank publisher’s site (with their permission) with my affiliate code in the pay link i.e. takes them directly to the order form.

    Using the example above

    It inserts the kw code but doesn’t show up on the order form.

    Any help would be appreciated. Thanks.

  10. Brent Crouch Says:

    Really? It should. Can you send me the url of the page? If you don’t want to send it in the comment form, just email it to me at brent AT

  11. JP Setlak Says:

    Hi I have 2 or 3 questions about this process. I thought the video you made was really well-done and highly useful. Thanks for that.
    I am a brand new affiliate marketer and ran into several challenges.

    1. When I set up the unique kw url’s in my adgroups and clicked on my landing page….. it worked. When I clicked on my merchant link from the landing page. It worked. When I went to the merchant order page my hoplink ID showed but not the unique url with the tid. How do I set up the Search Keyword-to landing page – to merchant order page – to sale path ?
    What is the relationship of my ad url to my clickbank hop link?

    2. When I pasted the url with tid’s into my adgroups, I checked to see if the ads were showing. They were NOT…….. When I removed the /?kw=1,2,3 etc ….the ads were showing again. What is the problem here? The links worked to the landing page but the ads were not showing. (at least, according to the lAdwords ad test tool) I had to delete the tid’s for now …. till I understand.

    3. I was reading Adwords for idiots /re conversion tracking and could not understand (!!!!) how to track my affiliate sales with it. Of the categories available to track (lead, sign-up, sale etc.) the closest seemed to be “view a key page. I could not understand how it would track to clikbank for me, and let me know which Keywords and /or landing pages were doing well.
    Any ideas or resources for these issues? I am getting a very good CTR and have good quality scores but I will need to know what is going on to scale the successful adgroups and later on campaigns.

  12. Brent Crouch Says:

    Hi JP,

    Welcome to the world of internet marketing. Let me see if I can give you a hand.

    1. If you correctly included the tid on the end of your affiliate link, it should have worked fine. Did you set it up like this?< ?php echo $kw; ?> Also, does your page have a php extension?

    There is no direct relationship between your ad url to the clickbank hop link. Here is the best way I can explain it.

    A. A user clicks your ad url that includes your unique keyword identifier.

    B. The Clickbank code I gave you will strip the keyword identifier and record it in a cookie. You can place this cookie anywhere on your page using the echo command I showed you above.

    C. If you use the echo command to place the unique identifier at the end of tid=, then it should work fine.

    2. I use that format in my Adwords ads all the time. It’s never kept my ad from showing. You should paste the url with the unique identifier in the destination url part of the ad and not the display url. For the display url just use your root domain name.

    3. You can determine which keywords and ads are doing well by using the method I describe in the post. This is the entire reason for creating a unique identifier.

    If you have any problems, send me a link to your page and I’ll see if I can help you.

  13. MIke Lennox Says:

    Hi Brent,

    Great post and info. I’m definitely going to give this a try. I’ve got a question about Adwords conversion tracking. I’m showing conversions being made in my Adwords account but the sales aren’t showing up in my Clickbank account. I’ve double checked my hop id and it is correct. What could cause this discrepancy?

  14. Mike Lennox Says:

    Hey Brent, Great post. I’m definitely going to give this a try. Do you see any discrepancies with Adwords conversions and Clickbank sales? I’ve had a couple of conversions recorded in Adwords but no relating sales in Clickbank. What might cause this?

  15. Brent Crouch Says:

    @Mike – Is the Clickbank product yours or did you get the Clickbank merchant to include your Adwords conversion code on their completed sale page?

    I never ask merchants to include my Adwords code on their completed page, so I have no way of comparing Adwords conversion data to Clickbank sales. INMO, if you have your Adwords Conversion code on a thank you page and Adwords is showing a conversion, but Clickbank isn’t showing a sale, then one of a couple things have happened.

    Someone had to of clicked your GA ad and then made it to a page that had your conversion data. Could this of been you during testing? I’ve made this mistake before.

    The only other alternative is your affiliate link is not working correctly. If you want me to take a look, then just shoot me over your url. If you don’t want to share it with everyone on the board, then just email it to me at brent at

  16. Mike Lennox Says:

    Sorry about the double post. I didn’t see my original comment so I wasn’t sure if it posted correctly, but apparently it did :)

    Yes, I do have merchants place my tracking code on their thank you page. I’ve had this happen once before when I promote affiliate offers. I’ve never had this happen when I’m promoting my own products, the tracking tends to be in sync. The hop link is fine, I’ve contacted clickbank and they tested it for me. I’ve tested it as well and I do see my hop id on the order page. I’ve never gone through the whole order process to the thank you page of any of the offers so I don’t think I would be triggering it. I’m wondering if people are going through my affiliate link, but then buying it through there own affiliate link, triggering my adwords conversion and giving them the commission?

  17. jp setlak Says:

    Hey Brent, hey guys

    Many of us have been asking Brent the same question repeatedly. How to set up the Adwords/Clickbank tracking correctly. I wrote a very short Landing page. Brent, if you can slip the correct code in, we can all learn once and for all,
    1. Correct Unique URL =

    2. Correct CB hop-link

    3. Landing Page without the code:


    Hey Guys! This is a sample landing page for a ClickBank affiliate. It does not yet have the tracking code. When it does it will be a lot more useful.

    Good luck to all. Have Funn.


    Hey Guys!  This is a sample landing page for
    a ClickBank affiliate.  It does not yet have the tracking code.  When
    it does it will be a lot more useful.
    Good luck to all.  Have Funn.

    Brent, are those 3 parts all that are needed?

  18. Brent Crouch Says:

    @Mike and JP – I just setup an example using the page JP sent me. You can view the sample page at

    JP, I marked the page as no index, so don’t worry about Google indexing it on my site. It won’t happen.

    1. Try visiting the url with a unique identifier attached.


    The unique identifier is now recorded in a cookie and is written after the tid on all the Clickbank links. You can verify this by clicking on any of the affiliate links on the page. This will take you to the merchants page. When you click the Buy Now button, you’ll be taken to the Clickbank payment page. If you notice at the bottom of the page, it recorded my affiliate name, jilliane, as well as recorded the unique identifier 103.

    Now to prove this identifier was saved in a cookie, visit the url again and leave off the unique identifier.

    If you repeat the process we used above, you’ll see the unique identifier still shows up on the merchant payment page even though we didn’t use it in our url this time.

    When setting up your page, remember the page will need to end with the .php extension.

    Good Luck and hope this helps.

  19. jpsetlak Says:

    This helps a bunch. In tracking the performance of individual kewywords, where does the unique id pop up once a client has purchased from the merchant? ClickBank Analytics? I am setting up the id tracking system now.

    Another question. I am setting up 3 versions of my landing page to be rotated by Adwords automatically. Will the id be carried to the 2 new pages? (they have a different url domain).
    All in funn.

  20. Brent Crouch Says:

    @jpsetlak – Yes, the unique id will show up in your Clickbank conversion reports.

    No. Each domain will need to have it’s own tracking system. Here is how I would handle your situation.

    1. I’d install my three landing pages on the same domain.

    2. I use a system where every time a visitor was sent to my page, they would be rotated equally between the three versions of the landing page. I’d also use another cookie for this. If a visitor seen version 1 of my page, the cookie would ensure they would always see this version.

    3. I’d modify my affiliate links on each page so I could tell which page resulted in the conversion.


    Affiliate Url Version 1 –

    Affiliate Url Version 2 –

    Affiliate Url Version 3 –

    Then when you are looking at your Clickbank conversion report, a conversion from vs2-109 would be from version 2 of your page with unique identifier 109. I can’t think of a better way to track 3 landing pages and keywords at the same time.

  21. jpsetlak Says:

    Once again great info. Adwords (in the website optimization Tool) told me I needed separate domains to rotate landing pages. Not true, hunh? So how do you get them to rotate as per your last post? Where do you put the various versions and get Adwords to rotate them?

    I am asking you all the questions missing from all the Adwords booksI am reading. Perry Marshall’s, Adwords for Idiots. They say: “Always rotate your landing pages!” But you don’t get the nuts and boltls. No assembly required my foot! T\Also, trying to learn this stuff from the Adwords tutorials is like going big-game hunting with a soup spoon.
    Cheers and thanks Brent.

  22. Brent Crouch Says:

    There are tracking programs that will do this for you. I purchased the rights to one of them that I resell here.

    Another way is to just hire a programmer to write a simple script. It should be fairly inexpensive to do.

    Actually, I’m in the process of testing different points on the same page. For instance, if I want to test my headline, why create three versions of the same page with only the headline being different. With a little php magic, you can use the same page and rotate different versions of the headline and easily track which one converts. I’ll post an update once I get it setup on my site.

  23. jpsetlak Says:

    I got the tracking running at last. I am delighted!!!!! Thank you so much Brent.
    Someone should write a REAL hands-on adwords/adwords editor how-to book. New marketers like me would lap it up. I am a professional educator and I find that the quality of tutorials (yours excepted, Brent) sucks incredibly. Well! time to test the ads. Happy php trails to all.

  24. Stan Says:


    I want to know if you could use ?tid= instead of kw?

    and the destination url in PPC campaings would be.{keywordhere}

    will this track the keywords also?

  25. Brent Crouch Says:

    Yeah, you could use anything you want. You just have to modify the small script to make it work. Just sub tracking for kw in the script.

  26. Stan Says: This is The Destination URL The affilaite link

    Brent I tried the above code but it doesnt seem to be tracking my keywords in clickbank any suggestion? I just changed the publisher and affilaite link to a generic just to show you

  27. Brent Crouch Says:

    @Stan – It is working just fine for me. Checkout my example.
    You can see the source code here.

    You can test the page by using this link.

  28. Paul Says:

    Hi Brent

    With your examples above will the Keyword still be tracked if I am cloaking
    the Hoplink URL?

    For example I looked into Cloaking using .HTACCESS and believe that
    I can cloak the Hoplink by including the following within the .HTACCESS file:

    Redirect /LandingPage.php/product.php

    Will the cloaking as outlined above have any effect on tracking the additional TID into Clickbank?

    Many thanks


  29. Brent Crouch Says:

    Hi Paul,

    When you cloak a link using your htaccess file, you don’t have the ability to pass a variable like the tid into the link. You’d only be able to create a static tid in your htaccess file and that wouldn’t be very much help.

    I do have a method of cloaking a link right on the page. In this instance, I am able to pass the variable to the tid. I’d share it with you, but the script performs a couple different functions on the page. I haven’t quite figured out how to separate just the cloaking function. I may work on it some this week. If I figure it out, I’ll post a response.

  30. Paul Says:

    Thanks Brent

    Very much appreciated.

  31. Ed Says:

    I LOVE your code but I’m trying to use it in a different way. On my affiliate pages, I cloak my affiliate links with a .php file. That .php file has the id which is in an array. The array is where the id is converted to my clickbank code. In that code is where I would like to put the . I’ve successfully put two variables in my link for my affiliate link like this: /test.php?id=affiliate&?kw=?php echo $kw;?>

    In my .php file, I have this:
    affiliate2 => “”,


    but I CAN’T get the TID to flow through to the checkout page at clickbank.

    Can you tell me what I’m doing wrong?

  32. Ed Says:

    Ok. It looks like in the .php file, the part after /tid=” didn’t come through. So, it is there but didn’t show up in my post for some reason…

  33. Brent Crouch Says:

    Send me the pages your code is on and I’ll take a look at it. WordPress is terrible about deleting bits and pieces. Just email it to brent AT

  34. mike Says:

    Hello Brent ,
    I found your website yesterday and i think it is great ,,thank you for sharing information, but unfortunately I am a new affiliate marketer, and I have a probleme ,I tried your php code and inserts the kw code but doesn’t show up on my affilate website link . Am I doing something wrong because it isn’t working “keyword tracking in my website”,,please help me i have done it as you explain in your website ,but it still is not working , i have sent you my link to help you know what is the error
    i would REALLY appreciate it!

  35. Brent Crouch Says:

    @Mike – The whole division by zero thing. Uhh!

    Sasha was the first one to report this to me and it’s been a pain to find the cause and finally the fix. First let me say, there is nothing wrong with the code. The code works just fine. The problem is when I post the code into WordPress, (the content management system for this blog), it changes one of the lines of code.

    I manually edited some of the WordPress files, so it should be showing correctly now. What was happening was on line 3. There are supposed to be two quotation marks back to back. WordPress was changing these to two “curley quotations” and it was unrecognized by php when you tried to run it.

    The fix is to simply manually change those two characters to two quotation marks or since it is now fixed on my blog, you should be able to copy and paste the code directly from my site.

    Let me know how it works and thanks for visiting!

  36. mike Says:

    Hello Brent ,

    Thank you for your reply,

    Unfortunately I have attempted to make again today but I have found it too difficult. I am possibly not following the instructions correctly and that it why it has not worked out. I have the same problems as I did yesterday it make me some error in landing page ,.please tell me ,where i must put exact the “php code” below in the landing page ? I am possibly not put correctely the php code in landing page ,,that is why it has not worked ,,show me please your code source if you have it ,so i can see it where i can exact put it the php code in landing page ,

    Thank you again and I look forward to hearing from you.


  37. Brent Crouch Says:

    @mike – The code is the very first thing on the page. It has to go above the html tag. If you have any problems, just attach your page to an email and send it to me at brent at and I’ll take care of it.

  38. mike Says:

    Brent, thanks so much for this extremely helpful post! i almost have the tracking working. here’s the problem: i am using wordpress and the following error is appearing: Warning: Cannot modify header information – headers already sent by (output started at /home/government/domains/ in /home/government/domains/ : eval()’d code on line 6

    note: i already fixed the divide by 0 error

    any help is much appreciated, mike

  39. Marc Says:

    Hi Brent, can you give any insight into using this code with

  40. Vic Says:

    hello Brent Crouch:!
    On youe page i found very useful tracking technick, Thank’s a lot man.. I put everything for my web site and i tested and is working but there is one moment.
    When i press the AD urls my page is opened with a certain id of the keyword and i don’t way but on the top of the web site(in the browser) appears:

    Warning: Cannot modify header information – headers already sent by (output started at /home/victor/public_html/ in /home/victor/public_html/ on line 7

    This eror it’s seems like in the php code but anyway the system is working because my variables id pass in the clickbank payment processor
    . How do you think way this code line appear and how to take it over from my landing page? because it’s influence on design ..

    Thank’s & reply

  41. Vic Says:

    hello again it’s me Vic!
    I fixed the answer of my question it was a just a little stuff in the code…

    Thank’s for your blog ,, it’s very useful

  42. Jordan Says:

    I have been looking for HOURS. Thanks a whole lot for the CLEAR answer on how to track keyword conversions in CJ.

  43. Jordan Says:

    Couldn’t one use the following code, or some variation of it, in the destination page url and grab the keyword used to search for the ad?{keyword}

  44. Vic Says:

    This technic is very good one, but can i use that in the adword compaign?
    Let’s say i have a adword compaign with some keywords.
    Can i put for example the same parameter directly in adword for each keyword: For example:
    bmw rims?a=100
    cheap rims?a=200
    and then to track it with php code on landing page…

    How to use for every keyword, maybe is little bit different ; Thank’s and please reply

    and then

  45. Vic Says:

    hello Brent! Thank’s for response!
    I managed how to fix code in page an also in adwords for each keyword.

    But the adwords support team didn’t aprove my compiagne becouse is coming across with they terms and policy!!
    have you ever face such cases before? can you guys advice what do i need to do to make my adwords compaigne to work??

  46. deanna Says:

    I have a quick question for you – I have designed a webpage for a client who provided me with a list of hoplinks using google keywords. He had a list of 12 hoplinks – my understanding is that each hoplink works like a separate hyperlink – you have 1 button or text with its own hoplink… each with its own TID idenitifier. Makes sense to me… But my client called and said he did not get credit for some sales over the weekend and he thinks that for EACH button/link I need to paste ALL 12 TID hoplinks into the HTML… All of this is new to me and the tracking is confusing… but I just do not think it is possible to attach ALL TID’s into each link, is it? I would think you would need 12 separate buttons/text links – 1 for each unique TID? Is it possible to list all TID’s under 1 link?
    I hope this makes sense – I think my client is new to this (as am I) so we are wrapping our heads around how this all works.

    I appreciate any advice!

  47. Brent Crouch Says:

    Deanna, Sorry for the slow reply. I’ve been away for a couple of months? Did you get this figured out? You are correct. Your client is not. You can’t put every TID into a single link. That makes zero sense. Let me know if you still need help.


  48. Brent Crouch Says:

    Vic, I’m not sure what you mean about the Terms and Policy? Why were you disapproved?

  49. Brent Crouch Says:

    You just assign a unique URL for each keyword. It works fine.

  50. Brent Crouch Says:

    Are you sending it to a page with a php extension?

  51. Dave Says:


    Thanks much for taking the time to write this guide, and for your follow-up with everyone — great to see that!

    Your solution is excellent for search network campaigns, but I’m not clear if it’s applicable to content network campaigns…I don’t think it is, right? At least not without some modification?

    Here’s what I’m looking to do, perhaps you can point me in the right direction….grateful for your assistance…

    I am just starting to promote a Linkconnector lead gen offer (Linkconnector is another affiliate network similar to CJ). I’d like to use Google conversion tracking but the advertiser won’t allow that. Also, I’ll be driving traffic mostly with the Google content network (keyword-targeted campaign). Since it’s the content network, I don’t necessarily care about which keywords convert for me (at least I don’t think so), but rather which sites end up bringing me conversions. The idea is to then offload those converting domains into a separate placement-targeted campaign. I know about the Placement Performance Report, and I understand there’s conversion data in that report. But I’m thinking AdWords is only able to grab conversion data via the Google pixel…. but if advertiser won’t allow the Google pixel, how do I get conversion data?

    Is there anything I can do other than Google conversion tracking to track conversions on the content network? Also, I’m driving traffic to my own domain (landing page) first…

    Appreicate any help you can offer!


    – Dave

  52. Brent Crouch Says:

    Dave, yes you can track conversions using the content network provided Linkconnector will let you pass tracking code. Clickbank refers to this as the TID. There are some limitations.

    One of the things I don’t like about the content network is you can put 100 keywords into an ad group but Google doesn’t show you which of those keywords are driving clicks. So you can create unique urls for your keywords in the content network, but none of them are ever going to be used. It is always going to default to the url you have setup for your ad. With this in mind, you can track conversions across different ad groups and can even track conversion across different ads. Unfortunately, I don’t know of any way to break this down by keyword when using the CN.

  53. Dave Says:

    Brent –

    Yes, understood that you can’t do kw-level conversion tracking on content network…and actually that’s okay with me. Since this is a keyword-targeted content network campaign, I am most interested in knowing what domains/pages are bringing me conversions….or even more generally, which domains/pages are bringing me clicks. If I can get this data, then I can setup a second campaign — this time a placement-targeted campaign — and just pay for clicks on the domains/pages I saw converting/driving traffic for me in the keyword-targeted campaign. Does that make sense?

    Also, Linkconnector does allow me to pass a subid parameter, they call it ATID (Affiliate Tracking Identifier).

    Do you have any ideas on how I can actually accomplish this with PHP?

    Thanks for your help Brent….

    – Dave

  54. Brent Crouch Says:

    Dave, it’s exactly the same code as I use in my example. The only thing you have to do differently is to use your affiliate link and sub the snippet of php code I use in my example for the value of ATID. If you need more help send me one of your links and I’ll show you how to set it up.

  55. Vic Says:

    hello Brent!!

    I dont now bu t think adwords don’t like me..
    They suspended my account twice ,, How do you think why that happens ?

  56. David Says:

    Hey Brent,

    I know this thread is a thousand years old, I appreciate you’re still answering questions…

    The short version is I’m having trouble passing the kw data directly to a clickbank order page.

    Here’s my situation:

    I’ve cloned a clickbank landing page and made some changes to it, and when prospects click on the order button I’m sending them directly to the clickbank order page.

    I’ve incorporated your php code on the landing page, and added the ECHO php code to the end of the clickbank order page link:

    WHen I mouse over the link, it does what it’s supposed to (shows ?tid=keyword).

    But it’s not actually passing the data to the clickbank order page. At least it doesn’t show up at the bottom of the page as AFFID.TID

    I’ve seen a few people around town asking how to pass the tid to a direct order page link, but no answers yet.

    Help me ObiWan!



  57. Vijay Says:

    really helpful and I was exactly looking for this..

    Thanks a lot

  58. Brent Says:

    @David – Sorry for the slow reply! Send me a copy of your source code and the page url and I’ll take a look at it. Just email it to brent at Put in the subject and I’ll keep an eye out for it.

  59. sandy Says:

    I want to get visitors to my landing page which contains an order now button with affiliate ID.
    Now in adwords i have to use the display and destination URL as this landing page which is my own. So how do i track conversions if someone clicks on my ad and go to my landing page and press order now button and actually do the action that i want to do.

    I am running an CPA offer. How do i track conversion at each keyword level for this. Because i cannot change destination URL in the adwords for each keyword as it will be my own landing page.

    However can i put any code in my landing page which will help me to decide which keywords actually converted through my stats..

  60. mike Says:

    awesome. this is exactly what i was looking for. i’ve been blindly using bing adcenter, but had no idea how to track conversions…

Leave a Reply