Question - Setting up Affedit with CJ

Discussion in 'Commission Junction' started by SimonJ621, Feb 8, 2008.

  1. #1
    Hi,

    I am about editing the JavaScript network rule for the CJ link and wanted to make sure I was doing this correctly (I don't want CJ to not recognize my referrals). I was hoping someone with more experience could help direct me. Here is what I was thinking...

    The CJ link I have looks like this:

    <a href="http://www.kqzyfj.com/click-#####-####">
    HTML:
    So I was going to change the JavaScript network rule to look like this:
    
    // cj  
    else if (h.indexOf('kqzyfj.com') != -1)
      return h.replace('click-','click-'+ref_id+'-');
    HTML:
    But I'm not sure if that will mess up my referral and make me miss my commission. Here is the example they give for Commission Junction...

    
    // cj  
    else if (h.indexOf('kqzyfj.com') != -1)
      return h.replace('SID=','SID='+ref_id+'_');
    HTML:
    Unfortunately, that is not how my link looks. If anyone with some experience could help direct me I would greatly appreciate it. Thank you,

    Jason

    --------
    elefoo.com
     
    SimonJ621, Feb 8, 2008 IP
  2. SimonJ621

    SimonJ621 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    No affedit experts out there :/
     
    SimonJ621, Feb 9, 2008 IP