×
Using Web Data in Market Research

Is web scraping primary or secondary data? In most market research it is secondary. Web scraping is a collection method, not a type of data, and what it collects was published by someone else. When an analyst pulls competitor prices from online stores, job postings from career sites or star ratings from a review platform, nobody published those pages for the analyst’s study. A retailer lists a price to sell a product, an employer posts a vacancy to hire someone, and a customer leaves a review to warn or praise. The researcher reuses information that was produced for a different purpose, which is the textbook definition of secondary data.

There is one exception. If the website itself is what you are studying, and you design the visits as an experiment, the observations become primary data. Checking how one store prices the same product for visitors from different countries is a test you set up and run yourself, much like a mystery-shopper study. The scraping technique is identical; what changes is who designed the measurement.

That framing is useful because it brings the usual questions with it. Who produced the data, why, when, and how complete is it? Web data adds two problems that a census table or an annual report doesn’t have. The page you receive depends on who the site thinks you are, and the pages you fail to receive are rarely a random sample. Both can quietly bias an analysis, and both can be handled if you plan for them before the first request.

What web data is good for, and where it falls short

The strength of web data is that it is current and granular. A price index built from online listings can be updated daily instead of monthly. Job postings show which skills employers ask for this quarter, long before official labor statistics catch up. Product catalogs reveal assortment changes, and reviews show which complaints are growing. For marketing intelligence, this is often the only source that tracks a competitor at the level of individual products.

The weaknesses are the ones every secondary source has, only sharper. The definitions belong to the publisher: one store’s “in stock” means available in a warehouse, another’s means available for pickup today. Coverage is uneven, since small shops are harder to collect from than large marketplaces. And the history is fragile, because a page that changed yesterday doesn’t keep a record of what it said before. If you don’t capture it on the day, it’s gone.

Choosing a collection method

There are three practical ways to get web data, and the choice shapes the quality of what you end up with.

An official API is the cleanest option when it exists. The fields are defined, the format is stable, and the terms of use are explicit. The catch is that APIs expose what the publisher chooses to share, which may not include the field you need, and rate limits cap how much you can collect.

Bulk downloads and open data portals suit public-sector and research data. They are well documented but updated on the publisher’s schedule, which may be quarterly.

Web scraping, extracting data from the HTML of public pages, gives the widest coverage and the least structure. You decide which fields to capture and how often, but you also inherit every change to the site’s layout, and you have to manage how the site responds to automated traffic. For most competitor and market research, scraping ends up being part of the mix because the data simply isn’t offered any other way.

The observer problem: the page depends on who is asking

A web page is not a fixed document. Many sites change prices, currency, shipping options and even the product range based on the visitor’s location. Some vary prices by device, by whether you are logged in, or by your browsing history. Economists call the deliberate version of this price discrimination, and online retail makes it cheap to apply at scale. On top of that, sites routinely run A/B tests, so two visitors in the same city can see different layouts and occasionally different prices.

For a researcher, this means every observation has a hidden variable: the observer. If half your price checks run from an office in Germany and half from a cloud server in the United States, you aren’t measuring one market, you’re measuring two and mixing them. The fix is to hold the observer constant and record it. Decide which country, language and device profile the study represents, send every request from that profile, stay logged out, clear cookies between sessions, and store the observer settings next to each data point as metadata.

Missing data that isn’t random

Every large web collection has gaps. Requests time out, pages return errors, and sites with bot protection answer with a challenge page instead of content. The tempting approach is to drop failed requests and analyze what came back. That is safe only if the failures are unrelated to the values you are measuring, and in web data they usually aren’t.

Statisticians distinguish between data that is missing completely at random, missing at random given other variables, and missing not at random. Blocked requests tend to fall in the last category. Large retailers invest more in bot protection than small ones, so a price study loses big players first. Protection also tightens during peak sales, which is exactly when prices move most. A discount index that silently skips blocked pages on Black Friday will understate the discounts.

Two habits keep this under control. First, log every attempt as a row, with the URL, timestamp, HTTP status and observer, rather than storing only successes. That turns the gaps into data you can measure: coverage per source, per day and per hour. Second, reduce the share of failed requests before analysis rather than correcting for it afterwards. Spacing out requests to each site, retrying with backoff, and spreading the load across several IP addresses all lower the failure rate. Analysts who collect at volume often route requests through static datacenter proxies built for web scraping, so that no single address carries enough traffic to trip a site’s rate limits, and each address stays the same for the whole collection period.

Holding the observer constant across countries

When a study covers several markets, the observer problem multiplies. A comparison of grocery prices in France, Spain and Poland only works if each country’s pages are collected as a local visitor would see them, in local currency and with local availability. Collecting all three from one location gives you the site’s international version, which may carry different prices or no prices at all.

The common solution is to give each market its own observer: a separate configuration with the country’s language and currency settings, sending requests through proxy IPs registered in each target country. Before trusting the data, verify the setup. Load the same product page through each configuration and confirm that currency, delivery options and the store’s country selector match the market you intended. Store the country of the IP address used as a field next to every observation, so that a misconfigured run can be found and excluded later instead of contaminating the averages.

Quality checks before the data reaches a dashboard

Web data should pass the same validation as any other source before anyone draws conclusions from it. A few checks catch most problems.

Validate the schema on every run. If the price field is suddenly empty for 30% of products, the site has probably changed its layout, and the scraper is now reading the wrong element. Look for impossible values such as a price of zero, a price ten times the usual level, or a rating above five, and check whether they cluster on one source. Deduplicate products that appear under several URLs. Compare coverage with the previous run: a sudden drop on one site points to blocking or a redesign, not to a market event.

Finally, keep the lineage. For each record, store the source URL, the collection time and the observer settings. When a stakeholder asks why the index jumped in March, you want to be able to trace the number back to the pages it came from. Data lineage is standard practice in data engineering, and it matters even more for web data because the source pages change and disappear.

Legal and ethical limits

Public availability doesn’t make every use acceptable. Read the site’s terms of use and itsrobots.txt, and keep request rates low enough that your collection doesn’t affect the site’s performance for other visitors. Courts have generally treated scraping of publicly accessible pages more leniently than access to protected data, as in the long-running US case hiQ Labs v. LinkedIn, but the outcome depends on the country, the data and how it is used. Personal data is a separate matter: names, contact details and profiles fall under privacy law such as the GDPR in the EU, even when they are visible to anyone. Price, product and job-ad data rarely raise these issues, which is one reason they are the most common subjects of web-based research.

Summing up

Treat web data as what it is: secondary data with an unusually strong dependency on the observer and an unusually high risk of non-random gaps. Decide who the observer is before collection starts, log failures as carefully as successes, give each market its own local configuration, and keep the lineage of every record. Done that way, data collected from public websites can be as defensible in a report as any survey or official statistic, and a good deal more current.

Leave a Reply

Your email address will not be published. Required fields are marked *

Author

linguaezone.com@gmail.com

Related Posts

Fallston AC Repair

Fallston AC Repair: Practical Diagnostics, Humidity Challenges, and Repair-or-Replace Choices

When a cooling system falters on a hot day, the problem feels urgent. Yet a calm, step-by-step approach saves time and prevents...

Read out all
PRV and Expansion Tank

Household Water Pressure Problems: How to Diagnose PRV and Expansion Tank Issues at Home

Surging showers one minute and a trickle the next can make a normal day feel complicated. Most whole‑home pressure issues trace back...

Read out all
Household Water Pressure

Household Water Pressure: Diagnose Risk and Prevent Damage Before Leaks Start

Water pressure that looks fine at the faucet can still be hard on your plumbing. Excess pressure and sudden stops in flow...

Read out all
Heating System Installation in Sedalia

Heating System Installation in Sedalia: How Climate, Ducts, and Fuel Choices Shape Comfort

Installing a new heating system is more than picking a furnace out of a catalog. In Sedalia, winter lows, humid shoulder seasons,...

Read out all
Room-by-Room Prep

Room-by-Room Prep That Makes Professional House Cleaning More Effective

Professional cleaners can work faster and reach more detail when a home is prepared for the tasks ahead. The goal is not...

Read out all
Minimizing Downtime in Commercial Moves

Minimizing Downtime in Commercial Moves: A Practical Playbook for Operations Managers

Every hour your team spends off the clock during an office, clinic, or retail relocation is an hour of lost service. Commercial...

Read out all