PHP Tracking Script to Handle Up To 10 Variables Compatible With WordPress

This is an EASY project for a coder who knows what he or she is doing.

The assumption is that any page on the web site could be an initial landing page and the visitor could click through several pages or even leave the web site altogether and come back some time later. If the visitor then arrives at a web page on the site containing form fields, the initial tracking information from the landing page needs to be retrieved and placed into specified form fields.

Therefore, I want a PHP tracking script that will handle up to 10 parameters from the URL and save them into a tracking cookie. These parameters are to be retrieved from the cookie to fill in form fields and text on any web page of the web site. This PHP script also needs to function on stand alone PHP pages as well as on WordPress blog pages.

## Deliverables

The tracking parameter names to be retrieved from the URL

must be in variables that can be specified at the beginning

of the script.

At the beginning of the script there must be a place to set

default values for variables.

There must be default values for each of the parameters.

There must be a default value for the cookie name.

The must be default variables for the cookie expiration time

expressed in days and hours.

The tracking cookie needs to hold the array of tracking

parameter names and associated values. Any parameter may be

absent from the URL, and they may be in any order in the


The logic for tracking is as follows:

If a parameter is not in the URL, the default value for that

parameter will be used.

If a parameter is not in the URL and the cookie value is not

the default, the default value will not override the cookie


Any value in the parameter from the URL except the default

value overrides the default value for that parameter in the

tracking cookie.

Any page on the web site must be able to use this script to

set and retrieve the values from the tracking cookie and

insert them into a form field value or place the values into

the HTML code on the page.

There must be clear installation instructions specifying

exactly where the script needs to be placed in a standard

PHP page and also where the script needs to be installed on

a WordPress blog in order to operate properly.

In addition, the PHP code used to insert the value of a

parameter into a form field must be clearly explained.

Since this is a relatively simple PHP script not involving

the use of any database, it should not take very long to


Habilidades: Linux, Instalação de Script, Shell Script, Arquitetura de software

Ver mais: to hold, standard up, clear array, absent , tracking cookie, stand up , handle, come name, click tracking, blog script html, simple tracking visitor php, tracking php code, php text array, relatively simple function, clear linux, landing page form database, compatible php, order tracking database, wordpress url parameters, html page stand alone, wordpress easy project, insert php code form, wordpress order field, linux html text, stand alone form

Acerca do Empregador:
( 0 comentários ) United States

ID do Projeto: #2966346

1 freelancer está ofertando em média $170 para este trabalho


See private message.

$170 USD in 5 dias
(31 Comentários)