Setting up Oyster on Shopify

The Oyster app puts the skin scan on your Shopify store, sends shoppers from the scan to your own checkout, and credits each paid order to the scan that drove it. You don't write any code or paste any keys. Budget half an hour.

An app, not a snippet

You install it, connect your Oyster account once, and add the widget from your theme editor. Keys, allowed domains and the cart handoff are handled for you.

You choose what syncs

Nothing in your catalogue goes to Oyster until you say so: pick products one by one, or sync by tag, product type or metafield.

Custom storefront?

If you can't install the app, for example on a headless storefront, see Connect any store for the code to do it by hand.

What the app does

Four pieces, none of which you write
1. Catalogue The products you choose are synced to Oyster and kept up to date: price, stock, images and ingredients.
2. Storefront Shoppers take the scan from a floating launcher on every page, or a widget inside any page.
3. Checkout The buy button in the scan adds the recommended products to the Shopify cart and opens checkout.
4. Attribution Paid orders are matched back to the scan, so your Oyster and app dashboards show what the scan sold.

Before you start

Three things to check
  • You can install apps on the store (store owner, or staff with app permissions).
  • The products you want recommended are active and published to the Online Store sales channel. The scan can only sell what your storefront can see.
  • An Oyster account, or the email you'll use to create one. You can create it from inside the app.

The app works on every Shopify plan, Basic included, and with any theme that supports app embeds (every Online Store 2.0 theme does).

1. Install the app

From the App Store or your install link

Install Oyster - AI Skin Analysis from the Shopify App Store. If you were sent a private install link, use that instead: it installs a version of the app set up for your account, and the rest of this guide is the same.

Shopify shows the permissions the app needs: products and inventory to keep your catalogue in sync, orders to credit sales to scans, discounts and customers to issue Spin the Wheel rewards, and draft orders to take payment for scans if you charge for them.

2. Connect your Oyster account

New or existing, with an emailed code

The app opens on Welcome to Oyster. Choose one:

  • Create a new Oyster account. Your business name, email and phone are filled in from Shopify. Choose a password, confirm the 4-digit code sent to your email, then log in.
  • I already have an Oyster account. Log in with your dashboard email and password. If your login runs more than one business, choose the one this store belongs to.

To finish, enter the 6-digit code Oyster emails you and click Finish connecting. The code works once and expires after a few minutes. Use Send a new code if it lapses. Connecting links this store to your account for good, so the code makes sure it's really you.

The app sets up the widget's keys for you. There's no public key to paste.

3. Approve billing

Per scan, on your Shopify bill

Scans are billed per scan through Shopify, and appear on your usual Shopify bill. Open Pricing and choose the plan in Shopify. Until you do, Home shows "Approve billing to start charging per scan". Once approved, Pricing shows You're all set.

Usage shows your scans and spend for any period.

Some accounts are invoiced by Oyster directly rather than through Shopify. If yours is, the app has no Pricing page and there's nothing to approve.

4. Choose what syncs

Catalog sync

Open Catalog sync. First set the Catalog currency: the currency your prices are in. Oyster uses it to read your prices and your recommendation budget tiers.

Then choose What syncs to Oyster:

OptionWhat syncsGood for
ManualOnly products you add yourselfStarting with a test set, or a short catalogue
By tagEvery product with one of the tags you chooseStores that already tag skincare
By product typeEvery product whose type is one you chooseStores with tidy product types
By metafieldEvery product where the field you choose is trueStores with a "skincare eligible" flag

Never sync takes tags and product types that are always left out, whatever the option above. Use it for samples, accessories, or anything you never want recommended.

To add products one at a time, either:

  • use Pick products from Shopify under Add specific products, or
  • select products in Shopify admin's product list, or open one product, and choose the Oyster action from More actions.

After that, changes sync on their own: new products that match your rule, edits, deletions and stock changes. Resync now under Manual resync is only for catching up after a big change made outside Shopify, such as a CSV import. Sync status shows when the last full sync ran and how many products it sent.

What is sent

  • Title, description, vendor (as the brand), product type and image.
  • The first variant's price, SKU and stock. Stock is the total available across your locations.
  • Ingredients, from the field you set under Ingredient source.

Gift cards, bundles, combined listings and free or unpriced products are never synced. A product with several variants is recommended as its first variant, so if your sizes or shades are variants, put the one you want recommended first.

Better recommendations

Ingredients are what Oyster matches against a shopper's skin, so they make the biggest difference to recommendations. Under Ingredient source, keep the built-in Oyster ingredients field (recommended) and fill it in on each product, or point it at a metafield you already keep. For a plain text field, pick the delimiter that separates ingredients.

5. Customise the widget

Widget settings

Open Widget settings:

  • Store logo: shown in the widget. JPG, PNG or WEBP, up to 5 MB.
  • Recommendation budget: the Low, Mid and Premium price ranges shoppers choose from, in your catalog currency. Set them to match your own price points.

Colours, wording and the launcher's position are set in the theme editor in the next step, per theme.

6. Put the scan on your store

Theme editor: an app embed and an app block

Home's setup guide has Add floating launcher and Add inline widget buttons that open the theme editor in the right place. You can also open Online Store → Themes → Customize yourself. Use one or both.

Floating launcher, on every page

In the theme editor open App embeds, turn on Skin Analysis Launcher, and Save.

SettingWhat it does
Brand colorThe widget's main colour. Set it to your brand colour.
Intro messageThe heading on the launcher card.
Message bodyThe line under it. Leave blank to hide.
Show your store logoShows the logo from Widget settings.
Auto-open WidgetOpens the scan as soon as a shopper lands. Off by default, and best left off.
PositionWhich corner the launcher sits in. The default uses the position from your Oyster dashboard.
Distance from the left or right edge, Distance from the top or bottom edgeIn pixels. Leave empty to use your Oyster dashboard's spacing. Use these to clear a chat bubble or cookie banner.

Inline widget, inside a page

On the page you want (a dedicated "Skin analysis" page works well), Add section or Add block, choose Apps → Skin Analysis Widget, and Save. Settings: Brand color, Alignment, Maximum width (500 to 1200 px), Inline height (400 to 1000 px), and Container styling for spacing, border, corner radius and shadow.

The launcher and the inline widget work together. Many stores keep the launcher on every page and add the inline widget to one landing page.

How checkout works

Nothing to set up

When a shopper taps the buy button in the scan, the recommended products go into their Shopify cart and they land on your Shopify checkout. Your prices, discounts, shipping, taxes and payment methods apply as usual. Oyster never takes payment for these orders.

  • Products are added to the shopper's existing cart. Nothing already in it is removed.
  • Sold-out products, and products not active or not on the Online Store channel, are skipped. The rest still go through.
  • If nothing can be added, the shopper lands on the cart, not an empty checkout.
  • Links in Oyster's post-scan and routine emails do the same thing: they rebuild the cart and open checkout.

If you use Spin the Wheel, a reward the shopper won is turned into a Shopify discount code for them and applied at checkout.

Attribution and orders

What gets credited, and the cookie to declare

When an order is paid, the app tells Oyster. Oyster credits it to a scan in one of three ways, strongest first:

  1. Checkout from the scan. The shopper used the scan's buy button, so the cart carried the scan.
  2. Remembered scan. The shopper scanned, closed the widget, and came back within 90 days to buy through your normal pages. The order must contain a product that scan recommended.
  3. Email match. The order's email belongs to a shopper who scanned with you in the last 90 days, and the order contains a product that scan recommended.

Orders that match none of these are ignored. Credited orders show under Sales in the app and in your Oyster dashboard. They're there for reporting only: your store still owns fulfilment, refunds and customer emails. Orders placed before you installed can't be credited.

You can see the scan on an order in Shopify admin, under Additional details: oyster_batch_id, and on checkouts from the scan, oyster_routine_id and oyster_widget_attribution_id. These are opaque ids, not personal data.

If you run a consent banner, list this cookie: oyster_scan_batch, first-party, 90 days. It holds one opaque scan id and nothing else. A shopper who blocks or clears it can still be credited through checkout from the scan or an email match.

Charging for scans

Only if shoppers pay for a scan or booking

If your account charges shoppers for a scan or a consultation booking, they pay through your Shopify checkout, and the scan unlocks as soon as Shopify marks the payment as paid. Checkouts that are never paid are cleaned up automatically.

Add the Oyster scan payment block to your Thank you page in the checkout editor (Settings → Checkout → Customize). It tells the shopper the payment was received and that they can close the tab and return to their scan.

Inside the app

What each page is for
PageWhat it shows
HomeThe setup guide, then scans, orders, revenue and conversion for the period you pick, your top recommended and top selling products, daily scans and recent orders.
Widget settingsLogo and recommendation budget. See step 5.
Catalog syncWhat syncs and its status. See step 4.
SalesOrders credited to a scan, linked to the order in Shopify admin.
AnalyticsSkin intelligence, retail, clinical, inventory and finance views of your scans.
UsageScans and spend for any period.
PricingYour plan. See step 3.

Everything else, including invoices, Spin the Wheel (under Widget Manager), webhooks and your team, is in your Oyster dashboard.

Uninstalling

What stays and what goes

Uninstalling removes the widget from your store and disconnects it from Oyster straight away: the app's access to your Oyster account is revoked and its store data is deleted. Your Oyster account, your synced products and your scan history stay in your Oyster dashboard. Reinstall and connect again to pick up where you left off.

Troubleshooting

What you see, and what fixes it
What you seeLikely causeFix
No launcher on the storefrontThe app embed is off, or not saved on the live themeTurn on Skin Analysis Launcher under App embeds on your published theme, and save.
The scan recommends nothing, or very littleFew products synced, or the budget tiers don't match your pricesCheck Sync status. Widen your sync rule. Set budget tiers in your catalog currency.
A product never syncsIt doesn't match your rule, matches Never sync, is a gift card or bundle, or has no priceAdd it with Pick products from Shopify. If Oyster rejects it, the reason is shown there.
Shopper lands on the cart, not checkoutNone of the recommended products could be addedCheck they're active, in stock, and on the Online Store channel.
Some products missing at checkoutThey were sold out or not on the Online Store channelThe rest of the order still goes through. Restock or publish them.
A paid order isn't under SalesIt didn't qualify (see Attribution)Check its Additional details for oyster_batch_id, and that it contains a recommended product.
Wheel rewards don't applyThe app doesn't have permission to create discountsOpen the app. If Shopify asks you to approve updated permissions, approve them.

Still stuck? Contact Oyster support with your store's .myshopify.com address.

Launch checklist

Before you tell shoppers
  • Account connected, and billing approved if your app has a Pricing page.
  • Catalog currency set, and products synced with ingredients filled in.
  • Budget tiers match your price points.
  • Launcher on (and inline widget placed, if you want one) on your published theme.
  • A test scan, then a test purchase from the buy button, shows under Sales.
  • oyster_scan_batch listed in your consent banner, if you run one.