Custom pixel tracking javascript - Will pay $$$$$$$$$

Discussion in 'JavaScript' started by Searchnology.com, Dec 7, 2007.

  1. #1
    Hello,

    I have affiliate tracking software that uses a conversion tracking pixel (image and/or javascript) to record sales on product websites. The javascript pixel just looks for a cookie on a users PC when they land on the purchase confirmation page and records the data to my tracking software.

    What I need is a custom javascript that will load both my tracking pixel as well as a tracking pixel belonging to one of my traffic partners so they can track sales as well.

    I need this because most product websites will only allow me to place a single pixel on their site. This solution would also allow me to add/delete multiple traffic partners without the product website having to add/delete several pixels.

    To determine which traffic partner pixel needs to be loaded, the script will need to read from some sort of file on my server. i.e. If cookie on user's PC named X contains a value of Y then load my pixel as well as tracking pixel Z.

    Thanks for any interest.
     
    Searchnology.com, Dec 7, 2007 IP
  2. drumminforev

    drumminforev Peon

    Messages:
    33
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hey, funny I found this post. I'm not sure if you still need the code for this, but I wrote a simple PHP script this morning that will do exactly what you're looking for :

    If cookie X is on users computer, load X script. If cookie Y is on users computer, load Y script. It can be easily modified to load multiple pixels.

    I assume you need this because you work with multiple CPA ad networks and they told you about the possibility of duplicate orders occuring if a user visits a tracking link through two networks and then makes a purchase.

    Well, this little script I wrote solves that problem completely. :D

    If you are interested, just reply and I'll post up the code here.
     
    drumminforev, Aug 21, 2008 IP
  3. Searchnology.com

    Searchnology.com Peon

    Messages:
    451
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes sir, that is exactly the need.

    I would be much appreciated if you send code.

    Thanks!
     
    Searchnology.com, Aug 21, 2008 IP
  4. j_arain

    j_arain Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I am also looking for the same code. I greatly appreciate getting a copy.

    Thank you so much!
     
    j_arain, Sep 12, 2008 IP
  5. Searchnology.com

    Searchnology.com Peon

    Messages:
    451
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Bump......
     
    Searchnology.com, Oct 18, 2008 IP
  6. Searchnology.com

    Searchnology.com Peon

    Messages:
    451
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Here are some clearer requirements.

    ===================
    I have affiliate tracking software that uses a conversion tracking pixel (image and/or javascript) to record sales for product websites I am promoting.

    PIXEL EXAMPLE: <img src="https://secure.examplesite.com/pixel/pixel.php?siteid=1030" height="1" width="20"></img>

    The tracking pixel just looks for a specific cookie on a users PC when they land on the purchase confirmation page and records the data from the cookie to my affiliate tracking software.

    What I need is a custom javascript to put on the product purchase confirmation page that will:

    1. Read a cookie on the users PC with a specific name AND

    2. Within that cookie, if a parameter named "XXX" has a value of "XXXX" THEN

    3. Load BOTH my tracking pixel as well as a second tracking pixel on the page.

    4. The second tracking pixel loaded will be determined by matching the parameter value in the cookie with the same value in a database on my server. i.e. If parmaeter value in cookie = 1234 then load pixel associated with 1234 from my MYSQL database or text file.

    5. If a matching value for the cookie parameter is not found in my MYSQL database/text file then the script should load my pixel only.

    6. The script should be fast so that it does not interfere with the performance of the product site.

    7. It must have a simple admin interface that allows me to add/delete/edit pixels and their corresponding cookie values.

    Thanks for the interest.
     
    Searchnology.com, Oct 18, 2008 IP
  7. rsteig

    rsteig Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you are still looking for a solution, let me know.
     
    rsteig, Jul 13, 2009 IP
  8. Affiliate Region Nani

    Affiliate Region Nani Active Member

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #8
    I am aware of the fact that this thread was from long ago... But I am looking for the same solution -- anybody out there who can help me out with this ?
     
    Affiliate Region Nani, Dec 15, 2009 IP