Using meta refresh for tracking pixel

Discussion in 'General Scripting Chat' started by bstsystems, Apr 2, 2012.

  1. bstsystems

    bstsystems Regular Member

    Joined:
    May 17, 2011
    Messages:
    464
    Likes Received:
    81
    Here is my code:

    <html>
    <head>
    <title> No title</title>
    <META
    HTTP-EQUIV="Refresh"
    CONTENT=".5; URL=out.php">
    <meta name="generator" content="Namo WebEditor(Trial)">
    </head>
    <body>
    <img height="1" width="1" border="0" style="display: none;" src="http://download-4-free.com/tracking202/static/gpx.php?amount=.4" />
    </body>
    </html>

    I'm trying to figure out how many tenths of a second I can put in the CONTENT=".5; area to leave enough time for my tracking pixel to load.

    Also I need to know if I put the meta refresh code and tracking pixel in the correct spots and if everything else looks ok.
    Is there supposed to be a space at the end of the code?
    ?amount=.4" />
     
  2. bulldawg88

    bulldawg88 Junior Member

    Joined:
    Jan 13, 2012
    Messages:
    166
    Likes Received:
    106
    Location:
    San Diego, CA
    You don't have to have the "/" at the end. Put the <IMG> tag above the meta refresh so it loads first.