Announcement

Collapse
No announcement yet.

Referrer pl

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Referrer pl

    Firstly apologies up front for asking what I'm sure is such a basic question but my technical abilities really are very basic ...

    My site's up and running (although certainly needs some improving ... photos, SE friendliness etc, any comments gratefully received)

    I have a parenting site that is going to feature my products, their customers will click on a link to take them to my site to purchase, and I need to track sales to pay back a %. I've been reading Advanced Guide, Community and Knowlegde all about referrer pl but if someone wouldn't mind explaining what I need to do in layman's terms I would be eternally grateful ...

    I've had a look at the rs0000000.pl script using FTP but I can't see what text I need to change. Understand the bit about adding referrer to Design | Text | Website contd etc.

    The web developer of the parenting site is asking for the URL structure of the hyperlink.

    Thanks in advance
    Michaela

    #2
    Here you go...

    Correct Format for the Call to The Referrer Script presuming the following settings:

    URL of your cgi-bin folder http:// www.myserver.com/cgi-bin/
    URL of acatalog directory http:// www.myserver.com/acatalog/
    CGI-Script ID 1
    Path from cgi-bin to the acatalog folder ../htdocs/acatalog
    Page you want people to land on Section_Page.html
    Text string to indicate where people have come from 123

    The call to referrer.pl would be as follows:
    http://www.myserver.com/cgi-bin/rs00...%2facatalog%2f
    There are four values you pass to the referrer script:
    SOURCE= The text string to indicate where people have come from.
    DESTINATION= The page in your 'acatalog' folder you want people to land on
    PATH= The path from your cgi-bin folder to your 'acatalog' folder
    BASEURL= The URL of your acatalog directory

    The values can be anything as long as they follow the x-www-form-urlencoded standard (%XX where XX is the hex code for the special character like spaces, & , ?, etc.). The text string is limited to 255 characters.

    For example, http://www.myserver.com/acatalog/ will appear as: http%3a%2f%2fwww%2emyserver%2ecom%2facatalog%2f
    / becomes %2f
    . becomes %2e
    _ becomes %5f
    : becomes %3a

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      Bruce,
      Thanks very much for your reply.
      I now understand that I produce a text string using the definitions below which is great.
      What do I do with this text string ? Should I be changing the text on the rs0000001.pl ? If so do I delete out all the other text that is on there ?
      If I have more than I do I just list them one after another ?
      What should I be giving to the affiliate site as the URL for them to include on their site ? Should it just be, for e.g., www.myserver.com/acatalog/Section_Page.html ?
      I do apologise for my less than basic knowledge!
      Many Thanks
      Michaela

      Comment


        #4
        The call to the referrer script would be as follows..

        'http://www.myserver.com/cgi-bin/rs000001.pl?SOURCE=123&DESTINATION=Section%5fPage%2ehtml&PATH=%2e%2e%2fhtdocs%2facatalog&BASEURL=http%3a%2f%2fwww%2etmyserver%2ecom%2facatalog%2f'
        There are four values you pass to the referrer script:
        SOURCE = The text string to indicate where people have come from ( the site from which people are commecting to your server eg, http://www.referrersite.co.uk which would actually look like http%3a%2f%2fwww%2ereferrersite%2eco%2euk )

        DESTINATION = The page in your 'acatalog' folder you want people to land on ( the section_name.html which would read section%5fname%2ehtml )
        PATH = The path from your cgi-bin folder to your 'acatalog' folder ( usually ../htdocs/acatalog which again needs to be encoded as done above )
        BASEURL = The URL of your acatalog directory ( http://www.myserver.com/acatalog/ which will appear as http%3a%2f%2fwww%2emyserver%2ecom%2facatalog%2f )

        These values in a referrer link would look like
        'http://www.myserver.com/cgi-bin/rs000001.pl?SOURCE=http%3a%2f%2fwww%2ereferrersite%2eco%2euk&DESTINATION=section%5fnage%2ehtml&PATH=%2e%2e%2fhtdocs%2facatalog&BASEURL=http%3a%2f%2fwww%2etmyserver%2ecom%2facatalog%2f'
        To help you encode the characters look at the earlier post which details what a . _ : or / becomes.

        You will need to provide the site you wish to place the referrer link to your site, the link as described above in quotes, by changing the values as you have them. If they put this into a link similar to
        <a href="your referrerlink"> here </a> it would create a hyper link to your store.

        Kind regards,
        Bruce King
        SellerDeck

        Comment


          #5
          Hi

          Thanks for this, I think I was trying to make it more complicated than necessary.

          Just one final thing, is the perl script always entitled rs000001.pl ?

          In my network settings, the CGI Script ID Number is 0 - would this mean that I should be using rs000000.pl ?

          Thanks
          Michaela
          Michaela

          Comment


            #6
            Spot on..
            Bruce King
            SellerDeck

            Comment

            Working...
            X