473,387 Members | 1,394 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 2536
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bob | last post by:
Below is sample code that illustrates what I'm trying to do. For sake of brevity I didn't include the properties of buildBtn that determine what data to request. The problem is I never see...
9
by: goks | last post by:
I'm using document.referrer method for tracking visits on my site. But it seems that, when someone finds my site with google, this method returns only: "google.com/search?q=xxxxx" (good) or...
1
by: DDK | last post by:
Does anyone know if there are any books that talk about building a website tracking program for asp.net and C#? Or even any good resources on the web that talk about this. Thanks for any info,...
2
by: Luiz Vianna | last post by:
Hi folks, I got a problem that certainly someone had too. After a user request, I (my server) must process a lot of data that will expend some time. During this process I must inform the user...
15
by: Jack | last post by:
Hi, I have a asp form where one element is a list box which lists four years starting from 2004. This list is drawn from a database table which has YearID and Year as two fields as shown below:...
1
by: bdockery | last post by:
So I figured out that if you use this html: http://wwwapps.ups.com/WebTracking/processInputRequest?sort_by=status&tracknums_displayed=1&TypeOfInquiryNumber=T&loc=en_US&InquiryNumber1=<TRACKING...
7
by: Ben Amada | last post by:
Hi ... I have an HTML page containing a bunch of <alinks. Some of the links redirect the visitor to a page at a different website in a new browser window (target=_blank) and other links are...
6
by: rahul sinha | last post by:
Please help me to find a email class which contains the functions for sending email as well as email tracking. Thanks Rahul S
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.