> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# [DRAFT] How to Set Up a Health & Wellness Pixel for Meta

> Step-by-step guide for setting up Upstack Data's Health & Wellness tracking solution for Meta-flagged stores. Each step links to a focused article with detailed instructions.

This guide walks you through setting up Upstack Data's Health & Wellness tracking solution for stores flagged by Meta. Each step links to a focused article with detailed instructions.

# Quick Summary

* Upstack restores accurate Meta tracking for stores flagged under Health & Wellness restrictions.

* Setup requires a **clean alias domain**, a **new Meta pixel**, and an **Upstack Data account**.

* All tracking runs **server-side only** — the browser pixel is removed entirely.

* Standard events are mapped to **custom H\&W events** that must be approved in Meta Events Manager.

* After setup, migrate your ad campaigns to the new pixel and optimize toward the H\&W Purchase event.

# What Is the Health & Wellness Flag?

Meta restricts stores that sell supplements, wellness products, or health-related goods. Once flagged, your pixel loses the ability to fully track and optimize bottom-funnel events like AddToCart and Purchase — leading to weaker campaign performance and declining ROAS.

**The flag is attached to your domain, not your pixel.** Creating a new pixel on the same domain will also get flagged. That's why Upstack uses a different approach.

[Understanding Meta's Health & Wellness Flag →](/guides/health-wellness/understanding-meta-health-wellness-flag)

# How Upstack Data Solves This

Upstack deploys a specialized Health & Wellness container with four components: server-side-only tracking (no browser pixel), data sanitization to strip flaggable content, domain aliasing from a clean domain, and custom event mappings that avoid Meta's automated flagging.

[How Upstack Data Solves Health & Wellness Restrictions →](/guides/health-wellness/how-upstack-solves-health-wellness-restrictions)

# Prerequisites

Have the following ready before booking your onboarding call:

* An **active Shopify store** (`your-store.myshopify.com`) with [Shopify Admin](https://admin.shopify.com) access

* A **[Meta Business Manager](https://business.facebook.com)** account with admin access

* A **new, clean root domain** for aliasing (see Step 1)

* A **new Meta pixel** created but not connected to anything (see Step 2). Meta Pixel ID format: a 15–16 digit number such as `123456789012345`

* An **Upstack Data account** at [app.upstackdata.com](https://app.upstackdata.com) with a subscription and payment method on file. Your Upstack Pixel ID format: `XXXX-XXXX-XXXXX-XXXX` (e.g., `58284d43-85f6-41fb-b2e0-f32f8ecb4e9b`)

# Setup Steps

<Steps>
  <Step title="Create your alias domain and landing page">
    You'll need a brand-new root domain (not a subdomain) with a simple, compliant page — just a headline and an image. No health/wellness product names, supplement terms, or links to your store.

    This domain exists solely for Meta's compliance bot. No real ad traffic should ever go to it.

    [How to Set Up an Alias Domain for Health & Wellness Tracking →](/guides/health-wellness/setup-alias-domain-health-wellness)
  </Step>

  <Step title="Create a new Meta pixel">
    Create a fresh pixel in Meta Business Manager. **Do not send any data to it from your flagged domain** — even one event will flag the new pixel.

    1. Sign in to [Meta Events Manager](https://business.facebook.com/events_manager).

    2. Click **Connect Data Sources** (top-left of the page) and create a new **Pixel / Dataset**.

    3. Name it (e.g., `Brand Name - Clean Pixel`).

    4. Do not configure or connect it to anything yet — just note the Pixel ID (15–16 digits).

    [How to Configure Facebook (Meta) Ads Pixel Destination in Upstack Data →](/guides/facebook-ads/how-to-configure-facebook-meta-ads-pixel-destination-in-upstack-data)
  </Step>

  <Step title="Set up your Upstack Data account">
    Sign up, select a plan, and enter your payment information.

    [How to Download and Install Upstack Data App in Shopify →](/guides/shopify/how-to-download-and-install-upstack-data-app-in-shopify)
  </Step>

  <Step title="Book your onboarding call">
    With the alias domain, new pixel, and Upstack account ready, book an onboarding call (typically 30–45 minutes). The Upstack team will handle:

    * Standard Shopify setup

    * Health & Wellness container activation (the "protective layer")

    * Domain aliasing configuration

    * Meta destination setup with CAPI in server-side-only mode

    The H\&W container typically takes the Upstack team an afternoon to configure and push live after the onboarding call.

    <Warning>
      Do not connect your Facebook Ads or send any data to Meta until the Upstack team confirms the Health & Wellness protective layer has been deployed. Connecting before the container is active increases your risk of getting flagged or banned.
    </Warning>

    [Complete Upstack Data Onboarding Guide →](/guides/getting-started/complete-upstack-data-onboarding-guide)
  </Step>

  <Step title="Approve the alias domain in Meta Events Manager">
    During or after onboarding:

    1. Sign in to [Meta Events Manager](https://business.facebook.com/events_manager) and select your new pixel.

    2. Open **Settings → Domains** and add the alias domain.

    3. Complete the domain verification process Meta prompts you through.

    <Warning>
      Domain approval is required before aliasing can be activated.
    </Warning>
  </Step>

  <Step title="Activate domain aliasing">
    Contact the Upstack team via your shared Slack channel or [support@upstackdata.com](mailto:support@upstackdata.com) to enable domain aliasing. Once activated, all events will report from the clean alias domain instead of your flagged domain.
  </Step>

  <Step title="Approve custom events in Meta Events Manager">
    Custom H\&W events will appear with red triangle warnings in Events Manager. Each must be acknowledged and confirmed before it can be used for optimization.

    **Key event for campaign optimization:** `UPSTACK_HW_6117d13b` (Purchase)

    [How to Approve Facebook (Meta) Custom Events →](/guides/facebook-ads/how-to-approve-facebook-meta-custom-events)

    For the full event mapping reference:

    [Health & Wellness Custom Event Mappings →](/guides/facebook-ads/health-and-wellness-custom-event-mappings)
  </Step>

  <Step title="Disable conflicting tracking">
    Turn off all other sources sending events to Meta to prevent duplicate events and avoid re-flagging:

    * **Shopify Facebook & Instagram data sharing** — disable under [Shopify Admin → Settings → Apps and sales channels → Facebook & Instagram](https://admin.shopify.com).

    * **Third-party tracking apps** (Triple Whale Sonar, Elevar, etc.) — disable Meta event sending in each app.

    * **Hardcoded Meta pixel code** — remove from your Shopify theme (`theme.liquid` and any custom snippets).

    [How to Disable Facebook and Instagram Data Sharing in Shopify →](/guides/facebook-ads/how-to-disable-facebook-and-instagram-data-sharing-in-shopify)
  </Step>

  <Step title="Migrate campaigns to the new pixel">
    During the transition, Upstack feeds data to **both your existing pixel and the new clean pixel** simultaneously. This lets the new pixel build up audience data before you switch campaigns.

    Your media buyers will need to:

    1. Create new campaigns (or duplicate existing ones) pointing to the new pixel.

    2. Optimize toward the H\&W custom Purchase event: `UPSTACK_HW_6117d13b`.

    3. Gradually shift spend from the old pixel to the new one.

    4. Monitor performance as the new pixel exits Meta's learning phase.

    Migration speed depends on your ad spend, risk tolerance, and how painful your current ad performance is. If performance has degraded significantly, you may want to switch quickly. If performance is still acceptable, consider training the new pixel with about a week of data before transitioning. Some brands cut over immediately; others run both pixels in parallel for 1–2 weeks.

    <Note>
      If your existing pixel has not been flagged and retains its audience data, you may be able to continue using it rather than creating a new one. Discuss this with the Upstack team during onboarding.
    </Note>
  </Step>

  <Step title="Verify the H&W setup is working">
    Once the container is live and campaigns are pointed at the clean pixel:

    1. Place a test order on your store.

    2. In [Meta Events Manager](https://business.facebook.com/events_manager) → your new pixel → **Test Events** or **Overview**, confirm the test event arrives via the **Conversions API** channel and the **Event Source URL** is your alias domain (not your flagged primary domain).

    3. Confirm the event uses the H\&W custom event name (e.g., `UPSTACK_HW_6117d13b` for Purchase) — not the standard `Purchase` event.

    4. In the [Upstack dashboard](https://app.upstackdata.com) → **Event Health**, confirm the event is listed and shows status **Sent**.

    5. Confirm there are no events being sent to Meta from any other source (no browser pixel from Shopify, no Triple Whale, no Elevar, no hardcoded scripts).
  </Step>
</Steps>

# What to Expect After Setup

<table role="presentation"><tbody><tr><td><p class="no-margin">Milestone</p></td><td><p class="no-margin">Timeframe</p></td></tr><tr><td><p class="no-margin">Events start flowing via CAPI</p></td><td><p class="no-margin">Immediately</p></td></tr><tr><td><p class="no-margin">EMQ improvements visible</p></td><td><p class="no-margin">Within 72 hours</p></td></tr><tr><td><p class="no-margin">Full optimization impact</p></td><td><p class="no-margin">14–21 days</p></td></tr><tr><td><p class="no-margin">Campaign performance recovery</p></td><td><p class="no-margin">Varies by brand</p></td></tr></tbody></table>

Once set up, you should never get re-flagged as long as all Meta events flow through Upstack.

**Using a third-party checkout?** (e.g., Phoenix, Checkout Champ) Let the Upstack team know before going live so tracking can be configured for your checkout platform.

# Need Help?

Reach out via your shared Slack channel or contact support with your Meta Pixel ID.

# Related Articles

* [Health & Wellness Custom Event Mappings](/guides/facebook-ads/health-and-wellness-custom-event-mappings)

* [How to Approve Facebook (Meta) Custom Events](/guides/facebook-ads/how-to-approve-facebook-meta-custom-events)

* [How to Configure Facebook (Meta) Ads Pixel Destination in Upstack Data](/guides/facebook-ads/how-to-configure-facebook-meta-ads-pixel-destination-in-upstack-data)

* [How to Disable Facebook and Instagram Data Sharing in Shopify](/guides/facebook-ads/how-to-disable-facebook-and-instagram-data-sharing-in-shopify)

* [Complete How-To Guide for Setting Up the Upstack Data App in Shopify](/guides/shopify/complete-how-to-guide-for-setting-up-the-upstack-data-app-in-shopify)

* [Complete Upstack Data Onboarding Guide](/guides/getting-started/complete-upstack-data-onboarding-guide)
