1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

This blew me away ($$$$$$)?

Discussion in 'Reporting & Stats' started by NewComputer, Sep 11, 2004.

  1. Help Desk

    Help Desk Well-Known Member

    Messages:
    1,365
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    180
    #21
    Anybody interested in having a PHP script that does this?
     
    Help Desk, Sep 15, 2004 IP
  2. nadlay

    nadlay Guest

    Messages:
    306
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #22
    ThinkBling,

    What would your PHP script do for us?
     
    nadlay, Sep 16, 2004 IP
  3. schlottke

    schlottke Peon

    Messages:
    2,185
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #23
    Umm, Im pretty sure it would do what Alek was just talking about ;)
     
    schlottke, Sep 16, 2004 IP
  4. Help Desk

    Help Desk Well-Known Member

    Messages:
    1,365
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    180
    #24
    The script that I'm talking about would be used in place of the image file. The script would return the appropriate image to the web browser but also would log the referrer string and IP address.
     
    Help Desk, Sep 16, 2004 IP
  5. hergo

    hergo Peon

    Messages:
    85
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #25
    Could be useful if you were really that interested to know.

    What would your script do exactly? You should make it log the search terms and date in a database or something so you could view the exact stats at a glance. You could then look at the days where you earned more and get a rough idea.

    I suppose it would be almost perfect to test and determine what are high paying keywords and what aren't. Especially if the search was not used by anyone other than yourself.
     
    hergo, Sep 16, 2004 IP
  6. nadlay

    nadlay Guest

    Messages:
    306
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #26
    :D

    So, from the referrer string we could break out the search phrase?

    I'd love to be able to see what they are searching for.

    BUT, would it be fully compatible with the TOS?
     
    nadlay, Sep 16, 2004 IP
  7. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #27
    As long as you don't edit the code ;)
     
    NewComputer, Sep 16, 2004 IP
  8. Help Desk

    Help Desk Well-Known Member

    Messages:
    1,365
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    180
    #28
    I have a working prototype at...

    http://www.googl2.com

    You can view the log at...

    http://www.googl2.com/images/test.txt

    Currently, the only content that is saved is the Date, Time, Referrer string and IP address.

    The problem though is that if the user caches the image, this log file doesn't get updated.
     
    Help Desk, Sep 16, 2004 IP
  9. hulkster

    hulkster Peon

    Messages:
    1,705
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #29
    Yep - I saw the same thing too - don't think there is a good way around this unless you can do something tricky with the img that causes the browser to think it has to reload it every time.
     
    hulkster, Sep 16, 2004 IP
  10. Rob

    Rob Guest

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #30
    The CPM report on google seems a bit non-sensical. I am not sure why the add it there.
     
    Rob, Sep 16, 2004 IP
  11. Help Desk

    Help Desk Well-Known Member

    Messages:
    1,365
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    180
    #31
    It probably isn't allowed, but if you were using PHP you could change the image reference from the calling app to be...

    <img src="img.php?x=<?php echo random_number_function(); ?>">
    PHP:
    This way the browser thinks it's a different image each time.
     
    Help Desk, Sep 16, 2004 IP
  12. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #32
    What about using 'no cache'?

    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">

    Would this work?
     
    NewComputer, Sep 16, 2004 IP
  13. Help Desk

    Help Desk Well-Known Member

    Messages:
    1,365
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    180
    #33
    Seeing as how it is an image, one can't return any Meta information.
     
    Help Desk, Sep 20, 2004 IP