Find Jobs
Hire Freelancers

Divide Visitors by Zip Code

$30-100 USD

Completed
Posted almost 15 years ago

$30-100 USD

Paid on delivery
The purpose of this request is to divide visitors to a website up by zip code. Visitors from zip code ranges considered “East?? will be routed to a page ([login to view URL]) and visitors from zip code ranges considered “West?? will be routed to a page ([login to view URL]). Visitors from a range of “Zip codes not being serviced?? (see below) will be instructed the following: “Your zip code is not within the continental United States and we do not ship to your location. You can still continue and browse our site however. Click here to continue??. (they would then click to be allowed to visit east.php. We need a javascript created to determine if a zip code entered is within a given range of options. If it is within those options, it should route the visitor to one of two pages and set a cookie indicating that the zip code has already been entered. If an acceptable zip code has been entered and/or the cookie is present, the visitor should be automatically routed to the destination page, and bypass the [login to view URL] page. ## Deliverables The purpose of this request is to divide visitors to a website up by zip code. Visitors from zip code ranges considered “East?? will be routed to a page ([login to view URL]) and visitors from zip code ranges considered “West?? will be routed to a page ([login to view URL]). Visitors from a range of “Zip codes not being serviced?? (see below) will be instructed the following: “Your zip code is not within the continental United States and we do not ship to your location. You can still continue and browse our site however. Click here to continue??. (they would then click to be allowed to visit east.php. We need a javascript created to determine if a zip code entered is within a given range of options. If it is within those options, it should route the visitor to one of two pages and set a cookie indicating that the zip code has already been entered. If an acceptable zip code has been entered and/or the cookie is present, the visitor should be automatically routed to the destination page, and bypass the [login to view URL] page. In addition, if a visitor has been directed to the specified destination page (for example: [login to view URL]), they cannot access the other page ([login to view URL]). If they were to try to access the other page ([login to view URL]), they would be unable to, and would be automatically routed back to their own page (in this example: [login to view URL]). If a visitor were to bypass the [login to view URL] page by accessing either [login to view URL] or [login to view URL] without first visiting the [login to view URL] (and they don’t have the required cookie), a small window will be visible on the destination pages ([login to view URL] & [login to view URL]) asking them to enter their zip code. If they enter their zip code, it will automatically route them to the correct page. If they have already entered the zip code (or the zip code is present in the cookie) they would not see this small window on the destination pages. If a visitor enters a zip code from the “Zip codes not being serviced?? or an unacceptable entry, this window would show the same messages and options as described in the [login to view URL] page. In addition to storing the cookie, once the script has determined that a visitor has entered the zip code and is in the correct destination page, a javascript variable should be set indicating their allowed destination (e.g. var zone=??west??; or var zone=??east??; or var zone=??unsupported??;). The cookie should also include the actual entered zip code value and make it available as a javascript variable (e.g. var zipcode=01001) In addition, the zone variable and the zip code entered should be set as php session variables. We are providing zip code ranges for dividing up the visitors. The following three zone ranges are provided: East and West and Zip Codes Not Being Serviced (see below). If visitors enter any number within the ranges listed below they will be routed to the corresponding page. These ranges represent 5 digit zip codes (only 5 digit zip codes are allowed) For example, 01001-49971 indicates a range of 5 digit zip codes starting at 01001 and including all 5 digit numbers up to 49971 and so on through all the ranges. It at any time the visitor enters a number that is not within any of the 3 valid zip code ranges (or is not a number etc) they will be prompted that they have not entered a valid zip code and asked to retry their entry. No other content needs to be added to the pages, and no “design?? services are required. 3 pages and the accompanying javascript and php code are required: [login to view URL], [login to view URL], [login to view URL] East (indicates a range of numbers) 01001-49971 53001-54990 60001-62999 70001-71497 West (indicates a range of numbers) 50001-52809 55001-59937 63001-69367 71601-96898 97001-99950 Zip codes not being serviced: 00210-00988 96910- 96970
Project ID: 3860992

About the project

17 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$25.50 USD in 5 days
5.0 (24 reviews)
4.8
4.8
17 freelancers are bidding on average $47 USD for this job
User Avatar
See private message.
$85 USD in 5 days
4.9 (404 reviews)
7.1
7.1
User Avatar
See private message.
$15.30 USD in 5 days
4.9 (324 reviews)
6.8
6.8
User Avatar
See private message.
$42.50 USD in 5 days
5.0 (136 reviews)
6.7
6.7
User Avatar
See private message.
$68 USD in 5 days
5.0 (130 reviews)
6.4
6.4
User Avatar
See private message.
$61.20 USD in 5 days
5.0 (170 reviews)
5.4
5.4
User Avatar
See private message.
$21.25 USD in 5 days
4.5 (26 reviews)
4.2
4.2
User Avatar
See private message.
$59.50 USD in 5 days
5.0 (19 reviews)
3.9
3.9
User Avatar
See private message.
$25.50 USD in 5 days
4.6 (8 reviews)
3.7
3.7
User Avatar
See private message.
$42.50 USD in 5 days
4.6 (6 reviews)
3.1
3.1
User Avatar
See private message.
$17 USD in 5 days
4.9 (16 reviews)
2.9
2.9
User Avatar
See private message.
$63.75 USD in 5 days
5.0 (3 reviews)
2.2
2.2
User Avatar
See private message.
$81.60 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$42.50 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$17 USD in 5 days
0.5 (1 review)
1.3
1.3
User Avatar
See private message.
$42.50 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$85 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
53
Payment method verified
Member since Apr 17, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.