tracking pixel in a processing script, instead of HTML page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eric Linders

    tracking pixel in a processing script, instead of HTML page

    Hello,

    I have a Web form that is filled out on my company's web site. When
    the submit button is pressed, the form data is posted to a PHP page
    that (in the background) inserts their information into a database,
    sends them a confirmation e-mail, etc.

    Once the form processing is done, the user is redirected to a Thank
    You Page. The thank you page has the following code in it:

    <IMG SRC='http://www.emailoptinl istwebsite.blah/scripts/blah.asp?userid =123&ListID=456 &FirstName=".$f FirstName."&Aff ID=".$affiliate ID."&Email=".$f Email."&LastNam e=".$fLastName. "&State=".$fSta te."&Zip=".$fZi p."'>

    This code adds the user to an opt-in list so that we can send them
    other products and services.

    THE PROBLEM: Some of our affiliates collect our user's form data on
    their Web site via a co-reg page, when this happens, they are posting
    the form contents to the form processing page on my server, but the
    user never sees the thank you page, so the IMG SRC code above is never
    displayed, and they are never added to our opt-in list.

    QUESTION: How would I insert the same code above in my form processing
    page (that processes in the background) so that the opt-in occurs on
    the form processing page, and NOT the thank you page?

    Thanks!
    - Eric
  • Chung Leong

    #2
    Re: tracking pixel in a processing script, instead of HTML page

    The add-to-the-existing-confusion way:

    Do a file_get_conten ts("http://www.emailoptinl istwebsite.blah/scripts/...")
    at the end of your form processing page.

    Uzytkownik "Eric Linders" <elinders88@hot mail.com> napisal w wiadomosci
    news:491326e5.0 402131033.4dff6 7eb@posting.goo gle.com...[color=blue]
    > Hello,
    >
    > I have a Web form that is filled out on my company's web site. When
    > the submit button is pressed, the form data is posted to a PHP page
    > that (in the background) inserts their information into a database,
    > sends them a confirmation e-mail, etc.
    >
    > Once the form processing is done, the user is redirected to a Thank
    > You Page. The thank you page has the following code in it:
    >
    > <IMG[/color]
    SRC='http://www.emailoptinl istwebsite.blah/scripts/blah.asp?userid =123&ListI
    D=456&FirstName =".$fFirstName. "&AffID=".$affi liateID."&Email =".$fEmail."&La s
    tName=".$fLastN ame."&State=".$ fState."&Zip=". $fZip."'>[color=blue]
    >
    > This code adds the user to an opt-in list so that we can send them
    > other products and services.
    >
    > THE PROBLEM: Some of our affiliates collect our user's form data on
    > their Web site via a co-reg page, when this happens, they are posting
    > the form contents to the form processing page on my server, but the
    > user never sees the thank you page, so the IMG SRC code above is never
    > displayed, and they are never added to our opt-in list.
    >
    > QUESTION: How would I insert the same code above in my form processing
    > page (that processes in the background) so that the opt-in occurs on
    > the form processing page, and NOT the thank you page?
    >
    > Thanks!
    > - Eric[/color]


    Comment

    Working...