State-level price and content differences are when a US site shows the same product with a different total, stock level or promotion depending on the visitor's state. Most of the difference comes from the delivery ZIP code, not the IP address. Sales tax is not part of the listed price. It is added at checkout based on the address. That is the trap: a test that only changes the IP and reads the listed price sees no difference. This post covers where the differences come from, which ones the IP decides and which ones the ZIP code decides, and a single-variable test setup.
Where state differences come from
State differences in the US come from four sources. Only one of them shows in the listed price. The other three surface at checkout or delivery.
| Source | Where it shows | Decided by |
|---|---|---|
| Sales tax | Order summary, tax line | Delivery address |
| Shipping and delivery time | Product page, checkout | ZIP code |
| State-specific product and promo restrictions | Product page, cart warning | ZIP code or account address |
| Store stock and store price | Product page, store picker | Selected store, IP on first visit |
This table is the skeleton of the test. Decide first which difference you want to measure. A test for tax differences and a test for store stock change different variables.
Listed price and amount paid
On most US sites, the listed price excludes sales tax. Tax is added as a separate line in the order summary once a delivery address is entered. So a product page viewed from two states can show the same price. The amount paid is different.
Tax is calculated from the address. The Washington State Department of Revenue states that for delivered sales, tax is collected based on where the customer receives the goods. The rate is set by the city and county as well as the state. Two ZIP codes in the same state can produce different tax lines.
Some states have no statewide sales tax. An order shipped there shows an empty or low tax line. That is not a bug. It is the result of the address.
To measure tax in a test, you have to get as far as the order summary. Do not enter payment details and do not place an order. Most sites show the tax right after the address step, before the card details. If the tax line says Calculated at checkout, the site does not have the address yet.
What the IP decides
The IP decides the guess a site makes the moment it first sees you. For a new visitor, the site derives a state and an approximate location from the IP. It then picks the nearest store, a default delivery area or a location-based banner.
IP geolocation feeds write the state as an ISO 3166-2 region code, such as US-TX or US-CA. How accurately an IP is located is a separate topic. We covered country, city and the error mechanism in How Country and City Targeting Works in a Proxy.
The postal code side is weaker. The postal code returned by location services is an estimate. The geolocation feed format in RFC 8805 treats the postal code field as deprecated for new feeds. So do not run a tax or shipping test on a ZIP code derived from the IP.
On most sites, the IP's effect is short-lived. When a visitor picks a ZIP code or a store, the site writes that choice to a cookie. From then on the site uses the cookie, even if the IP changes. If the store stays the same after you change the IP, the cookie is the likely cause.
ZIP code and account address
The ZIP code decides every delivery-related difference. Shipping options, the estimated delivery date, the tax line and the "this item can't be shipped to your address" warning all look at the ZIP code. If a seller does not ship some products to certain states, it usually says so in the cart or at checkout.
Promotion restrictions are tied to the address too. The terms of some promotions and sweepstakes state that entry is void in certain states. The site may show this in the promotion terms or the cart discount, not on the product page.
A signed-in account overrides both. If the account has a saved default address, the site picks tax, shipping and often the store from that address. The IP and a manually entered ZIP code take second place. Run state tests signed out, with a clean profile. If you want to measure the effect of the account address, add it as a separate variable.
Pick a real ZIP code for the test. The USPS ZIP code lookup tool lists ZIP codes by city and state. Picking one large city and one small town in the same state also shows you local tax differences.
A single-variable test setup
Each test row changes only one variable. If the IP state, ZIP code and account address change at the same time, you cannot tell which one caused the difference. In the setup below, A and B are two different states.
| Row | IP state | ZIP code | What it measures |
|---|---|---|---|
| 1 | A | Not entered | The site's IP guess for A (baseline) |
| 2 | B | Not entered | The IP's effect alone |
| 3 | A | A ZIP from B | The ZIP code's effect alone |
| 4 | B | A ZIP from B | A real visitor in B (control) |
| 5 | B | A ZIP from A | Whether the ZIP code overrides the IP |
If rows 1 and 2 differ, the site looks at the IP. If rows 1 and 3 differ, it looks at the ZIP code. If rows 3 and 4 match, the IP has no effect on that difference. In that case you do not need a state-targeted IP. Setting the ZIP code is enough.
Record the same five things in every row:
- Listed price and sale price
- Tax line in the order summary
- Selected store and stock status
- Shipping option and delivery date
- Any banner, promotion or shipping warning shown
Open each row in a new browser profile or a session with cleared cookies. The previous row's ZIP cookie spoils the next one. Run the rows back to back, in the same time window. Prices can change during the day. Use a sticky session so the IP stays fixed within a row. A Proxynet Sticky Proxy session keeps the same IP for 1-60 minutes.
A state-targeted IP is needed for rows 2 and 4. If your provider offers state selection, use it for those rows. If not, get a country-targeted US IP and verify its state before the row:
curl -s -x http://user:pass@pr.proxynet.io:8000 \
https://ipinfo.io/jsonThe region field in the response shows the IP's state. This value is one location service's view. The real measure is the store or delivery area the site under test shows. If the two differ, record the state the site sees. If you collect these pages automatically, follow the site's terms and its robots.txt file, and keep requests slow.
Troubleshooting
Most unexpected results come from a variable that did not actually change. The symptoms below are the most common.
- The IP changed, the store and price did not. A previous ZIP or store is saved in a cookie. Open a new profile.
- The tax line is empty or says
Calculated at checkout. The site does not have the delivery address yet. Enter the ZIP code in the cart or at checkout. - Rows 3 and 4 differ. The site looks at the IP as well as the ZIP code. To measure that difference, you need a state-targeted IP.
- The same row gave a different price on two runs. The price may change over time or by test group. Repeat the row a few times, and do not trust a single measurement.
- The site redirected to a non-US store. The IP is not located in the US. Verify the country first.
- Results changed after signing in. The account's default address took over. Repeat the test signed out.
The bottom line
First choose which difference you are measuring, then change one variable: the ZIP code for tax and shipping, a state-targeted IP for the first-visit guess. Above all, do not settle for the listed price, since most of the state difference sits in the order summary. For regular measurement, see the Residential Proxy page.
Sources
- Determine the location of my sale, Washington State Department of Revenue: dor.wa.gov
- RFC 8805, A Format for Self-Published IP Geolocation Feeds: rfc-editor.org
- Look Up a ZIP Code, USPS: tools.usps.com
Frequently asked questions
Do US prices include tax?
On most sites, no. The price on the product page excludes sales tax. Tax is added as a separate line in the order summary once a delivery address is entered. The rate varies by state, county and city. A product that looks the same in two states can give a different total at checkout. Compare the order summary total, not the listed price.
Does a proxy change US sales tax?
No. Sales tax is calculated from the delivery address, not the IP address. A proxy only changes the location where the site first sees you. What changes the tax line is the ZIP code and address entered in the cart or at checkout. To measure tax differences, change the ZIP code instead of the IP.
Can you test by state without a state-targeted IP?
Often, yes. Tax, shipping, delivery time and shipping restrictions depend on the ZIP code. Changing the ZIP code with a country-targeted US IP shows these differences. A state-targeted IP is needed when you measure the store the site guesses from the IP or a location-based banner. If rows 3 and 4 in the table match, the ZIP code is enough.
Which ZIP code should I use for testing?
Pick a real ZIP code inside a populated area. The USPS lookup tool lists ZIP codes by city and state. Taking one large city and one small town for each state also shows local tax and delivery time differences. Write the codes you chose into the test table and reuse the same codes in later measurements.
Why do prices differ within the same state?
Because of local tax and stores. City and county rates are added to sales tax, so two ZIP codes in the same state give different tax lines. Store stock and store prices also depend on the selected store. Some sites also show different prices by test group. Repeat the row a few times to tell which one it is.
Why does the test need a sticky session?
To keep the IP fixed for the whole row. In rotating mode, each connection can get a different IP. If the product page comes from one state and the cart from another, the row's result is mixed. A sticky session keeps the same IP for the time you choose, 1-60 minutes on Proxynet. Finish the row within that time and open a new session for the next row.




