469,336 Members | 5,695 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

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.emailoptinlistwebsite.blah/scripts/blah.asp?userid=123&ListID=456&FirstName=".$fFirst Name."&AffID=".$affiliateID."&Email=".$fEmail."&La stName=".$fLastName."&State=".$fState."&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
Jul 17 '05 #1
1 2424
The add-to-the-existing-confusion way:

Do a file_get_contents("http://www.emailoptinlistwebsite.blah/scripts/...")
at the end of your form processing page.

Uzytkownik "Eric Linders" <el********@hotmail.com> napisal w wiadomosci
news:49**************************@posting.google.c om...
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.emailoptinlistwebsite.blah/scripts/blah.asp?userid=123&ListI
D=456&FirstName=".$fFirstName."&AffID=".$affiliate ID."&Email=".$fEmail."&Las
tName=".$fLastName."&State=".$fState."&Zip=".$fZip ."'>
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

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by DDK | last post: by
2 posts views Thread by Luiz Vianna | last post: by
7 posts views Thread by Ben Amada | last post: by
6 posts views Thread by rahul sinha | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.