# Verify Shopify customers and storefront forms

Source: https://docs.rocketverifier.com/integrations/shopify

> Connect Shopify from Dashboard, Integrations, Shopify to install the RocketVerifier app. Turn on the RocketShield app embed in the theme editor to check account, newsletter and contact forms as shoppers type, and use the customer sync to verify every customer, tag it rv:<status> and keep new and updated customers verified automatically.

RocketVerifier for Shopify has two parts that work together: **RocketShield** stops bad addresses on storefront forms before they are submitted, and the **customer sync** verifies every customer record, including those created at checkout.

## Install the app

In RocketVerifier open [Dashboard, Integrations, Shopify](https://app.rocketverifier.com/dashboard/integrations/shopify), enter your `<store>.myshopify.com` domain and click **Connect**. Shopify asks you to approve `read_customers` and `write_customers`, then sends you back to the dashboard. The same install adds the RocketShield app embed to your theme editor.

## Check storefront forms with RocketShield

**Step 1. Create a shield**

Open [RocketShield](https://app.rocketverifier.com/dashboard/rocketshield), create a shield and add your store's domains to **Allowed domains**: the custom domain and `your-store.myshopify.com`. Choose the blocking rules and message, then copy the `rs_` key.

**Step 2. Turn on the app embed**

In Shopify open **Online Store, Themes, Customize, App embeds** and turn on **RocketShield**. Paste the shield key and pick where it runs:

- **All pages** (default), which includes the footer newsletter form.
- **Account and contact pages only**: register, login, account, account activation, password reset and the contact page.

Save the theme.

**Step 3. Test it**

Open the storefront and type `disposable@sandbox.rocketverifier.com` into the newsletter form. The form shows the shield's message and stops the submission.

The embed loads `https://app.rocketverifier.com/widget/v2.js` with `defer`, and loads nothing until a key is set. Blocking rules, the message and the rate limit come from the shield in the dashboard. The [RocketShield guide](https://docs.rocketverifier.com/integrations/widget) covers every rule and option.

## Sync customers with the native connector

The customer sync verifies the customers already in your store and every new one, then writes the result onto the customer record so you can segment, filter and automate on it in Shopify.

### Connect Shopify

**Step 1**

In RocketVerifier open **Dashboard → Integrations → Shopify**, enter your `<store>.myshopify.com` domain and click **Connect** to install the app and approve `read_customers` and `write_customers`.

**Step 2**

Pick the source to sync, the schedule and the write-back options in the integration settings, then click **Sync now** or wait for the schedule.

Tokens are stored encrypted and refreshed automatically when the platform issues expiring tokens. If access is revoked, the integration is marked as needing reauthorization and you reconnect it from the dashboard.

### What it syncs

**Sources.** All customers.

**Incremental syncs.** Customers updated since the last sync.

### Schedules and credits

- **Schedule:** manual, daily, weekly or monthly. **Sync now** starts a run immediately. One sync runs per integration at a time, and an address already on its way through another run is never charged twice.
- **Mode:** *Full* checks every contact in the source except those verified in the last *N* days (default 30, range 0 to 365). *Incremental* checks only contacts changed since the last sync. Turn on per-status intervals to re-check unknown and catch-all addresses sooner than valid ones.
- **Credits:** each sync is a regular verification job at 1 credit per unique address. `unknown` results are refunded when the job completes. Addresses you verified recently anywhere in RocketVerifier are written back from that result for free. If the balance is too low, the sync stops with `insufficient_credits` before anything is charged.
- **Quarantine:** optionally re-check risky, catch-all and unknown contacts automatically every 1 to 90 days (default 14), so each one moves to Send or Remove once the result is clear.
- **Results** are written back when the job completes. The sync history in the dashboard shows updated, failed and skipped counts for every run, and a finished run fires the `integration.sync.completed` webhook event.

### Write-back

**Status fields.**

- `rocketverifier.email_status (metafield)`
- `rocketverifier.email_recommendation (metafield)`
- `rocketverifier.email_verified_at (metafield)`

Customer metafields in the `rocketverifier` namespace.

**Status tags.**

`rv:<status>`, e.g. `rv:undeliverable`; the other `rv:` status tags are removed.

Status is one of `deliverable`, `undeliverable`, `risky` or `unknown`, and sub-status is a [`sub_status`](https://docs.rocketverifier.com/results#sub-status) value (`none` when there is no extra detail). Score runs from 0 to 100, verified-at is an ISO 8601 UTC timestamp, and recommendation is `send`, `review` or `remove` (valid is send; invalid and disposable are remove; risky, catch-all and unknown are review).

### Actions by result

Pick an action for each result type in the integration settings: *Invalid*, *Disposable*, *Risky*, *Catch-all*, *Unknown* or *Valid*. Actions run after the write-back.

- **Add tag**: Adds the action tag.

- **Safe by default:** unsubscribe, suppress and delete never apply to catch-all or unknown results, whatever the rule says. Catch-all and unknown contacts include real people, so they can be tagged, moved or paused instead.
- **Preview before acting** writes the results as usual but holds the actions until you approve the run in the sync history.
- **Undo this run** reverses the run's reversible actions, and every run keeps a CSV backup of the contacts it changed.

### Auto-verify new contacts

Turn on **Auto-verify new contacts**. RocketVerifier subscribes the store to `customers/create` and `customers/update`; every delivery's signature is checked and repeats are ignored. An update whose address was already verified is ignored, so RocketVerifier's own tag and metafield writes never trigger a second check.

Each new contact costs 1 credit. Addresses this integration verified recently (30 days by default) are skipped, and webhook events are de-duplicated for 24 hours, so platform retries never charge twice. Turn on **Send an email.verified webhook for each new contact** to receive every result as an [`email.verified`](https://docs.rocketverifier.com/api/webhooks) event with `source` set to the platform.

## Use the results in Shopify

- **Segments:** build a customer segment on the tag `rv:undeliverable` or `rv:risky` and exclude it from Shopify Email campaigns.
- **Flows:** start a Shopify Flow when a customer is tagged `rv:undeliverable`, for example to notify your team.
- **Metafields:** `rocketverifier.email_recommendation` holds `send`, `review` or `remove` for apps that read customer metafields.

## Privacy

The app handles Shopify's mandatory privacy webhooks: `customers/data_request` is acknowledged and logged for your records, `customers/redact` deletes that customer's verification data, and `shop/redact` deletes everything for the store. Uninstalling the app disconnects the integration and deletes its access token.

## Frequently asked questions

### Does RocketShield run on the Shopify checkout?

RocketShield protects your theme's account, newsletter and contact forms. Addresses entered at checkout and on new customer account pages are verified by the customer sync when the customer is created, with Auto-verify new contacts on.

### Where do I set the blocking rules?

On the shield in the RocketVerifier dashboard. Blocking rules and the message come from the shield. Set them on the shield, and every page using that key follows them.

### Does tagging a customer trigger another verification?

No. A customer update whose address was already verified is ignored, so RocketVerifier's own tags and metafields never cause a second charge.
