Page title monitor
=IMPORTXML(landing_url, "//title") tracks homepage title text for SEO experiments.
IMPORTXML fetches a URL and returns data matching an XPath query. You can scrape page titles, meta tags, table cells, or RSS-style XML fields. It is more precise than IMPORTHTML when you need one value or a repeating node set from structured markup.
Use IMPORTXML for competitor price checks, SEO title monitoring, RSS fields, or any public page where XPath can target stable elements.
Skip IMPORTXML when the site needs a login, loads data only via API tokens, or changes CSS classes every week. A dedicated API integration is more reliable.
Open the page source or inspector and identify a stable XPath to the value you need.
Write =IMPORTXML(url, "//h1") or a more specific path such as //span[@class="price"].
Use array-friendly XPath when you need every matching node in a column of results.
Combine with IFERROR to show a friendly message when the fetch fails.
Cache important snapshots on a Schedule tab if you only need daily history, not live ticks.
Re-test XPath after site redesigns because class-based paths break often.
=IMPORTXML(landing_url, "//title") tracks homepage title text for SEO experiments.
=IMPORTXML(product_url, "//span[@itemprop='price']") reads a published price when the schema markup is consistent.
=IMPORTXML(feed_url, "//item/title") lists headlines from a public XML feed into a news tab.
Build this without starting from a blank cell
Use a Better Sheets tool for IMPORTXML, then watch a walkthrough when you want the full pattern.
Watch how IMPORTXML works
IMPORTHTML fetches a public web page and returns a table or list from its HTML. You provide the URL, the query type (table or list), and the index of which table or list on the page to import. It is a quick scraper for simple pages without writing Apps Script.
Read guide →IMPORTRANGE loads values from a range in another Google spreadsheet into your current file. You pass the spreadsheet URL or key plus a range string with an optional sheet name. After you grant access once, the link stays live and updates when the source changes.
Read guide →IMPORTDATA retrieves a text file from a web address and parses it into sheet cells. It works with comma- or tab-separated values published at a stable URL. Government open data, published exports, and simple report endpoints are common sources.
Read guide →GOOGLEFINANCE connects your sheet to Google market data. Pass a ticker symbol, an attribute like price or volume, and optional date range arguments for historical quotes. Portfolio trackers and FX dashboards use it to avoid manual price copy-paste.
Read guide →Done reading about IMPORTXML?
Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.
Need this once
Jump to a free tool or a single tutorial for this topic.
Learning Sheets for real
Unlock the full library, generators, and templates with membership.