Watch a keyword on a shop or checkout page¶
A shop can answer every visit and still be broken: an empty product page, a cart that will not open, an error where the Add to cart button should be. A keyword check catches that: it opens the page and checks that a word or phrase is on it, or is not.
Before you start¶
You need to be an Owner or Admin of the account. Pick the page:
- A product page or the shop's home page is the best choice: anyone can open it, and it shows the shop's own buttons.
- A checkout or cart page often depends on what is in the visitor's cart. Our checks send no cookies, so they arrive with an empty cart, and many shops then show "Your cart is empty" or send the visitor back to the cart or the shop. Watch a page that looks the same for every visitor.
- A page behind a sign-in, such as an account page, cannot be checked for a keyword (behind a sign-in page).
Pick the keyword¶
- Choose words that are on the page whenever the shop works, such as
Add to cartor the name of the product. Capitals do not matter. - Avoid a price, a stock count, a date or a name of the week's offer: they change, and the check would fail.
- Check that the words are in the page's HTML: open the page, view its source (Ctrl+U in most browsers, or Option+Command+U in Safari) and search for them. Words a script adds after the page loads are never found (keyword).
- The words must be in the first megabyte of the page, as almost every page's are.
Steps¶
- Open Monitors in the side menu and click Add a monitor.
- Under Monitor type, choose Keyword.
- Type the page's address in Address, such as
https://shop.example.com/product/blue-mug. - Type the Keyword, such as
Add to cart. - Under The page must, choose Contain the keyword.
- Click Add monitor.
Watch for words that should not be there¶
Choose Not contain the keyword to hear when a word appears, such as Out of stock on a product that must never
run out. The monitor turns Down, with Unwanted keyword found, once a second place agrees.
What you get¶
- Down, with Keyword missing and an email, once a second place agrees the words are gone (check results).
- Up again when the words are back for two checks in a row.
A keyword check is an uptime check too: if the page does not load at all, the monitor turns Down for that reason first.