Results 1 to 8 of 8

 

Thread: Tracking Issues - Sub Ids

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Jul 2008
    Location
    Bangkok, The Palace
    Posts
    106
    Thanks
    1
    Thanked 0 Times in 0 Posts


    Hi,

    I just need a bit of help on tracking for my site.

    I was using query strings on the end of the destination url in Adwords and on the landing page I would use PHP session to put the query string into the Affiliate Link as the click ref and then look at my click ref reports and cross reference the query string with the keyword to see what keywords were producing sales.

    However I wanted to cloack the affiliate link, therefore I did this by using a meta redirect - however it no longer tracks the click reference! I just need some simple tips on best method of cloacking (301, meta redirect, javascript etc....) which will still allow my PHP session to input the query string into the affiliate url.

    Hopefully I made myself clear, if not please ask any questions you may have.

    Thanks,

    Darrell

  2. #2
    Registered User

    Status
    Offline
    Join Date
    May 2009
    Posts
    28
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Hi Darrel,

    Can you give a coding example of what you are trying to achieve.

    thanks

  3. #3
    Registered User

    Status
    Offline
    Join Date
    Jul 2008
    Location
    Bangkok, The Palace
    Posts
    106
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hi,

    No probs - example of coding below:

    ---------------------------------------------------------------------

    1. Adwords Destination url:

    http://www.exampleaffiliatesite.co.uk/?kw=1234tracking

    2. Merchant affiliate link on the landing page (cloack link)
    "http://www.exampleaffiliatesite.co.uk/cloacked-link.php?kw=" . $_SESSION['track'];

    Session on the page should copy through the referral string from Adwords destination url '1234tracking'

    3. Cloacked-link.php

    This page contains the affiliate link has a meta refresh redirect. The tracking '1234tracking' should now be put into the affiliate url and show in my affiliate reports as the sub id.

    -----------------------------------------------------------

    Previously I never had any cloacked links - just had the affiliate link on the landing page and used php session to put the tracking '1234tracking' into the aff link and that worked fine.

    However decided to change to cloacked links and now sub ids not showing up.

    Any help would be much appreciated.

    Thanks,

    Darrell

  4. #4
    Registered User

    Status
    Offline
    Join Date
    May 2009
    Posts
    28
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Hi,

    this may sound dumb but are you echoing $_SESSION['track'] in your affiliate link

    eg.

    <meta http-equiv="refresh" content="2;url=http://www.affiliatewindow.com/click=123&affiliateid=12345&clickref=<?php echo $_SESSION['track']?>" />

    OR

    Do you have <?php session_start(); ?>
    at the top of Cloacked-link.php?

    James

  5. #5
    Registered User

    Status
    Offline
    Join Date
    Jul 2008
    Location
    Bangkok, The Palace
    Posts
    106
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hi James,

    I don't know a lot about PHP and sessions etc... so could well be something dumb that I've done . The code on the cloacked-link.php page is:
    ----------------------------------------------------------------------------

    <?php
    session_start();
    $_SESSION['track'] = $_GET['kw'];


    ?>
    <meta http-equiv="refresh" content="0;url=http://www.affiliatewindow.com/click=123&affiliateid=12345&clickref" . $_SESSION['track'];>
    ----------------------------------------------------------------------------

    Thanks,

    D

  6. #6
    Registered User

    Status
    Offline
    Join Date
    May 2009
    Posts
    28
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Hello Darrell,

    If I understand correctly this is what you should be doing

    In your index.php or landing page you should have the following code at the very top of the file:

    PHP Code:
    <?php
    session_start
    (); 
    $_SESSION['track'] = $_GET['kw'];
    ?>
    And on the other pages where you want to add your clickref to your affiliate urls do this

    Code:
    Add this at the very top of the page.
    <?php
    session_start();
    ?>
    
    http://www.affiliatewindow.com/click=123&campaign=12345&clickref=<?php echo $_SESSION['track']; ?>
    Please note, you do not need to add this
    Code:
    $_SESSION['track'] = $_GET['kw']
    on your cloacking page

    Because if the clickref is not in your URL on the cloaking page the 'track' session will be empty..

    Hope this helps..
    If you are still having problems, please let me know..

  7. #7
    Registered User

    Status
    Offline
    Join Date
    Jul 2008
    Location
    Bangkok, The Palace
    Posts
    106
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Still not working for me

    Maybe there is a better way to do this than 301 redirect and meta refresh....

  8. #8
    Registered User

    Status
    Offline
    Join Date
    Jun 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    Came across this post whilst implementing the same sort of keyword tracking as thai_king describes.

    Interestingly I am having the same problem ie no referrer URL appearing in sales reports after implementing a cloaked forwarding page.

    I did assume originally this was caused due to my cloaked forwarder page being opened in a new window, but even when it doesn't open in new window same issue occurs.

    thai_king - did you resolve your issue?

    anyone - any suggestions appreciated...is there a better way to track keywords which lead to sales than utilising SESSION within PHP and tracking via affiliate reports?

    Thanks
    Mike



Thread Information

Users Browsing this Thread

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

Similar Threads

  1. TD Tracking Issues?
    By hairycornflakes in forum Casino, Bingo & Gaming
    Replies: 0
    Last Post: 15-04-08, 01:43 AM
  2. Tracking issues
    By Mr.bailey in forum Affiliate Future
    Replies: 0
    Last Post: 29-09-05, 03:08 PM
  3. Tracking Issues
    By Qui Gon Jinn in forum Affiliate Marketing Lounge
    Replies: 20
    Last Post: 12-11-03, 11:39 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