Results 1 to 4 of 4

 

Thread: Tracking PPC effectiveness

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Dec 2008
    Posts
    322
    Thanks
    47
    Thanked 20 Times in 13 Posts


    I recently restarted my PPC campaigns after some site improvements and sales seem to have picked up. However, as it is an affiliate site, I don't really know which keywords/ad-groups/campaigns are the most successful as I cannot tie this into a goal, such as clicking an affiliate link... or can I??

    Ultimately I won't be able to tell which keyword drove a sale as that is beyond my tracking (to an extent) but can I at least track a keyword to a hit on an affiliate link?

    many thanks, D
    Biggest learning from AM: Don't give up! It's a journey not a destination

  2. #2
    Sandis's Avatar
    MoreNiche.Com

    Status
    Offline
    Join Date
    Jun 2006
    Posts
    244
    Thanks
    4
    Thanked 13 Times in 12 Posts
    Quick solution for monitoring CTR I guess there is this tracking202 that could help with that or you could develop little script of yours.

    Ideally you would want mixture of PHP and Google Analytics + ability to pass unique details to the merchant, e.g. like dynamic keyword insertion or campaign inserting in tracking urls (few networks like MoreNiche do support this but not sure about your network).

    Anyways, here's the code that will save the keyword into the $keys variable. Main condition is you have to use link cloaking as to read cookie it needs to refresh the page.

    e.g. which could be something like site.com/go/?productid=12345 (which could be script that underneath uses the number as product ID and pulls your link from the database or inserts it straight away into the link if its same merchant

    PHP Code:
    <?

    // Do not change this code as these are special codes for reading Google Analytics data

    $info explode("|",$_COOKIE['__utmz']);
    $ga_info = array();

    foreach (
    $info as $val) {
        
    $temp explode("=",$val);
        
    $ga_info[$temp[0]] = $temp[1];
    }

    $keys = (!isset($ga_info['utmctr'])) ? (isset($_GET['OVRAW'])) ? $_GET['OVRAW'] : "Uknown" $ga_info['utmctr'];

    // your affiliate link dynamically updating &keyword vairable with $keys value
    // this of course is as an example and some merchants may allow dynamic campaigns etc 
    $link "http://www.merchant.com?affiliate=100000&product=12345&keyword={$keys}";
    header ("Location: $link");
    exit;

    ?>
    So this is approximately how this works with passing keywords. Hope this give you some ideas to work around. Of course, with little tweaks you can do a lot more.
    Sandis Viksna – MoreNiche Affiliate Network - 20-50% per sale
    Email: sandis (at) MoreNiche (dot) com | Phone: 0115 979 8480 | Skype: Sandis_MN

  3. The Following User Says Thank You to Sandis For This Useful Post:

    d33man (30-10-09)

  4. #3
    Registered User

    Status
    Offline
    Join Date
    Dec 2008
    Posts
    322
    Thanks
    47
    Thanked 20 Times in 13 Posts
    Thanks for this tip, I can see how it can be used quite efficiently with a number of affiliate networks that allow for custom URL params. My only issue is that as we publish new merhant links daily, we use direct links (http://affiliatenetworkurl.com/merchantid) as opposed to http://mysite.com/go/id as it is quicker to publish

    In this instance, I wonder, having good knowledge of PHP but limited knowledge of the WP architecture, whether it is possible to programme a hook which can find the affiliate network URL, replacing a part of the URL using your code below with the search string/source? That would make it highly efficient and dynamic!

    Thanks, D

    Quote Originally Posted by Sandis View Post
    Quick solution for monitoring CTR I guess there is this tracking202 that could help with that or you could develop little script of yours.

    Ideally you would want mixture of PHP and Google Analytics + ability to pass unique details to the merchant, e.g. like dynamic keyword insertion or campaign inserting in tracking urls (few networks like MoreNiche do support this but not sure about your network).

    Anyways, here's the code that will save the keyword into the $keys variable. Main condition is you have to use link cloaking as to read cookie it needs to refresh the page.

    e.g. which could be something like site.com/go/?productid=12345 (which could be script that underneath uses the number as product ID and pulls your link from the database or inserts it straight away into the link if its same merchant

    PHP Code:
    <?

    // Do not change this code as these are special codes for reading Google Analytics data

    $info explode("|",$_COOKIE['__utmz']);
    $ga_info = array();

    foreach (
    $info as $val) {
        
    $temp explode("=",$val);
        
    $ga_info[$temp[0]] = $temp[1];
    }

    $keys = (!isset($ga_info['utmctr'])) ? (isset($_GET['OVRAW'])) ? $_GET['OVRAW'] : "Uknown" $ga_info['utmctr'];

    // your affiliate link dynamically updating &keyword vairable with $keys value
    // this of course is as an example and some merchants may allow dynamic campaigns etc 
    $link "http://www.merchant.com?affiliate=100000&product=12345&keyword={$keys}";
    header ("Location: $link");
    exit;

    ?>
    So this is approximately how this works with passing keywords. Hope this give you some ideas to work around. Of course, with little tweaks you can do a lot more.
    Biggest learning from AM: Don't give up! It's a journey not a destination

  5. #4
    Registered User

    Status
    Offline
    Join Date
    Dec 2008
    Posts
    322
    Thanks
    47
    Thanked 20 Times in 13 Posts
    Sandis - had a thought about this...

    Not a good idea to send keywords with links otherwise the merchant will get the inside track on your search strategy!
    Biggest learning from AM: Don't give up! It's a journey not a destination



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Batch Tracking/Pixel Tracking
    By MortimerJazz in forum Analytics
    Replies: 0
    Last Post: 24-09-07, 12:34 PM
  2. OMG tracking / apparent non-tracking
    By Roaming Badger in forum Affiliate Marketing Lounge
    Replies: 4
    Last Post: 21-08-07, 11:04 AM
  3. Creative effectiveness for Co Reg Opt in
    By mattlindsay in forum Affiliate Marketing Lounge
    Replies: 7
    Last Post: 18-12-06, 12:34 PM
  4. Replies: 2
    Last Post: 03-11-04, 10:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2