When to use Restricted Category Mode
Use it when:- Meta has flagged your domain or categorized it as Health & Wellness
- Meta has rejected your purchase event
- You sell supplements, CBD, wellness products, or anything else Meta restricts
Prerequisites
- Upstack installed on your Shopify store. See How to Download and Install Upstack Data App in Shopify.
- Admin access to your Meta Business Manager.
- A domain registrar account and somewhere to host a single page.
Setup steps
Register an alias domain and publish a splash page
- Be new and never used with Meta, and not be a subdomain of your store’s domain.
- Have a neutral name, with no health, medical, or product words (such as “wellness”, “vitamins”, “labs”, or “Dr”) and not the exact brand name Meta flagged.
- Show one simple page: a headline and an image, with no logo, products, add-to-cart buttons, or links to your store.
- Stay live. Meta won’t let you add the domain while the page is down.
Create a new dataset in Meta
- Sign in to Meta Events Manager.
- In the left menu, click Connect data.
-
In Connect a new data source, select Web and click Next.

-
In Connect your data, click Create new dataset.

-
Under Enter a name, name the dataset (for example,
Brand Name - Clean Pixel). Leave Add the Conversions API for web events to all new and existing datasets… unticked, then click Create.
- Note the new dataset’s ID, a 15–16 digit number shown under its name in Datasets.
Generate a Conversions API access token
Allow only the alias domain on the new dataset
- In Events Manager, click Datasets and select the new dataset.
- Click the Settings tab and scroll to Traffic permissions - Websites.
-
Click Create allow list.

-
In Manage traffic permissions, on Add to allow list, type the alias domain in Enter a domain and click Next. Meta confirms it under Added to allow list, together with all its subdomains. Click Close.

Turn off other sources that send events to Meta
- Turn off data sharing in the Shopify Facebook & Instagram app, or uninstall it. See How to Disable Facebook and Instagram Data Sharing in Shopify.
- Turn off Meta events in other tracking apps, such as Triple Whale Sonar, Elevar, or Stape.
- Remove any Meta pixel code hardcoded in your theme (
theme.liquidand custom snippets). - In Events Manager, check the new dataset’s integrations and disconnect any other than Upstack.
Set up the Meta destination with Restricted Category Mode
- Set Tracking Method to Server, and enter the dataset’s ID in Meta Pixel ID and its access token in Conversion API Key.
-
On the Category Mode tab, turn on Enable Restricted Category Mode (click Enable in the dialog) and Enable Domain Alias, and enter the alias domain in Domain Alias, such as
https://youraliasdomain.com. -
Click Create Destination.

Check events on the new dataset
- Events arrive through the Conversions API.
- The Event Source URL is your alias domain, not your store’s domain.
ncPurchase, rcPurchase, and the legacy UPSTACK_HW_* events, which Upstack still sends alongside the standard ones. If Meta asks you to review the custom events, approve them. Optimize your campaigns on the standard Purchase event and ignore the UPSTACK_HW_* events.To optimize on new or returning customers, create custom conversions once ncPurchase and rcPurchase show up. See Set Up NC and RC Purchase Events in Meta.Wait 24 hours, then move your campaigns
- Clone your campaigns onto the new dataset and optimize toward the standard Purchase event.
- Move your spend over within about 10 days.
- Stop using the old pixel. If its destination is still connected in Upstack, switch it off.
Troubleshooting
The new dataset was flagged again
The new dataset was flagged again
Meta won't let me add the alias domain
Meta won't let me add the alias domain
I changed my alias domain
I changed my alias domain
I have more than one store
I have more than one store
I use a third-party checkout
I use a third-party checkout