Skip to main content
Back to blog
Use Case10 min readMarch 20, 2026

How to Track Competitor Prices Automatically in 2026

Manual price checks do not scale. If you are tracking more than a handful of competitor products, you need an automated system that detects price changes as they happen and alerts you before your margins erode. This guide covers how to set up reliable price monitoring from scratch.

Why manual price tracking fails

Every e-commerce team starts with spreadsheets. Someone checks competitor prices once a week, copies numbers into a Google Sheet, and shares it with the pricing team. This works when you are tracking five products from two competitors. It falls apart at scale.

The problems with manual tracking are compounding. Prices change multiple times per day during promotional periods, but your weekly check only captures a single snapshot. You miss flash sales, dynamic pricing adjustments, and time-limited offers entirely. When a competitor drops their price by 15% on Tuesday and raises it back on Thursday, your Friday check shows no change at all.

Manual tracking also introduces human error. Copying prices from browser tabs into spreadsheets is tedious work, and mistakes are inevitable. A mistyped decimal point or a missed product variant can lead to pricing decisions based on bad data. And as your product catalog grows, the person responsible for price checks spends increasingly more of their time on mechanical work instead of strategic analysis.

The real cost is not the labor, though. It is the missed opportunities. A competitor drops their price on your best-selling SKU, and you do not find out for three days. By then, you have already lost sales to customers who compared prices and found a better deal elsewhere. Automated monitoring eliminates this lag entirely.

How automated price monitoring works

Automated price monitoring follows a straightforward cycle: fetch the page, extract the price, compare it to the previous value, and alert you if it changed. The challenge lies in doing this reliably across hundreds of product pages that each have different HTML structures, anti-bot protections, and dynamic rendering behaviors.

A monitoring platform like OnChange handles the infrastructure side of this equation. You provide the URL and tell it which element on the page contains the price. The platform takes care of scheduling checks, rendering JavaScript-heavy pages, storing historical snapshots, calculating diffs, and routing alerts to your preferred channels. You focus on deciding what to monitor and how to respond to changes.

The key advantage over building your own scraping pipeline is maintenance. Web pages change their structure frequently. Selectors break, new anti-bot measures get deployed, and pages start requiring JavaScript rendering. A dedicated monitoring platform handles these issues as part of the service, so you do not spend engineering time keeping scrapers alive.

Setting up your first price monitor

Start by identifying the competitor product pages you want to track. Focus on products where price competitiveness directly impacts your sales. For most e-commerce businesses, this means your top 20 to 50 SKUs across your three to five primary competitors.

For each product page, you will need to create a monitor with the product URL and a CSS selector that targets the price element. Open the competitor's product page in your browser, right-click on the price, and select "Inspect" to open developer tools. Look for the HTML element that contains the price value.

Finding the right CSS selector for prices

Price elements typically use predictable class names and data attributes. Here are common patterns you will encounter across major e-commerce platforms:

  • --.price-current or .product-price are common class-based selectors used by custom-built stores.
  • --[data-price] or [data-product-price] are data attribute selectors that are often more stable than class names.
  • --span[itemprop="price"] targets schema.org structured data attributes, which are reliable because stores maintain them for SEO purposes.
  • --.price__sale or .price--discounted often target the active sale price rather than the strikethrough original price.

Test your selector in the browser console by running document.querySelector('your-selector').textContent and verifying it returns just the price value. If the selector matches multiple elements, use a more specific path or add a parent container to narrow it down.

Handling sale prices vs. regular prices

Most product pages display both a regular price and a sale price during promotions. Your selector needs to target the right one. In most cases, you want the active selling price, which is the sale price when a promotion is running and the regular price otherwise. Look for the element that shows the price the customer would actually pay. Some stores wrap both prices in a container, so targeting the sale-price element directly avoids confusion.

Configuring alerts for price changes

Not all price changes deserve the same level of attention. A $0.10 fluctuation on a $50 product is noise. A $15 drop on that same product is a competitive signal you need to act on quickly. Effective alert configuration separates meaningful changes from background noise.

Configure your monitoring to send alerts through different channels based on the significance of the change. For large price drops from key competitors, use immediate notifications via Slack or email. For routine price adjustments, aggregate changes into a daily or weekly digest that your pricing team reviews during their regular workflow.

OnChange supports webhook integrations that let you pipe price change data into your own systems. You can feed changes into a pricing database, trigger automated repricing rules, or create tickets for your merchandising team. The webhook payload includes the old value, the new value, and a timestamp, so your downstream systems have everything they need to take action.

Analyzing pricing trends over time

Individual price changes tell part of the story. Pricing trends tell the rest. By collecting price data over weeks and months, you can identify patterns that inform your own pricing strategy.

Common patterns to watch for include regular promotional cycles where a competitor drops prices on a predictable schedule, gradual price increases that signal supply constraints or repositioning, and sudden across-the-board reductions that may indicate a clearance sale or business model shift. OnChange stores a full history of every change it detects, giving you the raw data to identify these patterns.

Use the change timeline view to review how a competitor's pricing has evolved over time. Export change data via the API to feed into your own analytics tools, spreadsheets, or dashboards. The goal is to move from reactive price matching to proactive pricing strategy based on competitive intelligence.

Scaling to hundreds of products

Once you have your initial price monitors working, scaling up is a matter of organization. Group monitors by competitor, by product category, or by priority level. This makes it easier to manage alert routing and review changes in context.

For large catalogs, consider using the OnChange API to create monitors programmatically. Pull your product catalog from your database, match each SKU to its competitor equivalents, and create monitors automatically. This approach scales to thousands of products without manual configuration for each one.

Keep your selectors maintained as competitor sites update their HTML. A broken selector silently stops detecting changes, which is worse than no monitoring at all. Set up periodic checks to verify that each monitor is still returning valid data. OnChange flags monitors that return empty results or error states, so you can fix broken selectors before you miss important changes.

Beyond prices: what else to monitor

Price is the most obvious competitive signal, but it is not the only one. Consider monitoring competitor product descriptions for new feature claims, shipping policies for changes in free-shipping thresholds, and product availability for stock status changes. Each of these signals adds context to your competitive intelligence picture.

For a broader view of competitive monitoring strategies, explore our use cases page which covers scenarios beyond pricing. You might also find our guide on SEO monitoring useful if you are tracking competitor search presence alongside their pricing.

The best competitive intelligence programs combine multiple data streams. Price changes, product updates, marketing messaging shifts, and API endpoint changes all contribute to a complete picture of what your competitors are doing and where the market is heading.

Ready to stop checking prices manually? Start your free OnChange account and set up your first price monitor in under a minute.

Ready to start monitoring?

Set up your first price monitor in under a minute. Free tier includes 5 monitors with email alerts.

Get started free