Any website
Last changed
Adding recapi to a site with no shop platform: one script tag, what recapi reads from your product pages, and the fix when it can't read them.
In short
- Paste one script tag on every page, as Wix and Squarespace take custom code. It counts views and shows recapi's row under each product: up to 4 cards with a picture, a name and a price.
- No product upload: recapi draws each card from the product's own page, once a visitor has opened it.
- Your dashboard's quick start (Any website) shows the tag with your key and says when your row is ready.
- On Shopify, WooCommerce or Magento? Use its guide instead: Shopify, WooCommerce, Magento.
Install
- The keys. Create an account; the quick start's first step makes your public key.
- The tag. Paste the quick start's tag on every page. The row shows under the product, above your footer, Wix included. To choose its place, or turn this off, see the page's product.
- The check. Open a product page as a visitor would. Check it works then names your site's address: press Read product cards from it. recapi reads only the address you confirm.
After ten minutes
- Check it works reads "Your row is ready" with the number of products that can show in it.
- A product page shows the row, with popular products until recapi has trained on your visitors' views.
- Live events (Set up) lists each view a few seconds after it happens.
What our page reader reads
A product's JSON-LD Product, which most shop themes print, else its Open Graph product tags (og:type product,
og:title, og:image, product:price:amount). The least a page needs:
<script type="application/ld+json">
{"@type": "Product", "name": "Trail shoe", "image": "https://shop.example/trail.jpg",
"offers": {"price": "89.00", "priceCurrency": "EUR"}}
</script>
How often it reads, from where, and how to stop it: our page reader.
The three usual problems
Your site blocks our reader
The check reads "Your site blocks our reader". A bot check sits in front of your pages, most often Cloudflare's.
Allow our reader's addresses in your firewall (on Cloudflare, an IP Access
rule). Or send your catalog (below). If the check reads "Your robots.txt
keeps our reader out", allow recapi-page-reader there, as shown. If it
reads "Your robots.txt does not answer", make sure your robots.txt opens in a browser, or remove it.
Your pages don't describe their products
The check reads "Your pages don't describe their products". Add the markup above to your product page template, or send your catalog.
The row is missing
The check is ready but no row shows: see the row is missing.
Better pictures and stock: send your catalog
Optional. A card read from your page is up to a day old. A product you send from your server draws its card from
what you sent, at once: a new price or picture shows on the next visit, and available: false takes it out of the
row. The call: Describe your items. The quick start shows it with your key, in its check.