Loading tutorials…
Loading tutorials…
Wix has a 'Facebook Pixel' field in Marketing Integrations that fires PageView. It doesn't fire Purchase, doesn't support Conversions API, and silently loses 30-50% of iOS attribution. Here's the real install.
Who this is forWix site owners running Meta Ads (Facebook + Instagram) who need accurate conversion tracking. Especially urgent if your ROAS is dropping and you suspect attribution loss.
What you'll need
Step 1
Meta Business Manager → Events Manager → Data Sources. Create new pixel or use existing one for this domain.
business.facebook.com → Events Manager → Data Sources.
If you don't have a pixel: 'Connect Data Sources' → Web → Meta Pixel → name it → enter your Wix domain.
Copy the 15-16 digit Pixel ID.
Pixel settings → Activity: should show 'Last received: never' initially.
One pixel per domain. Don't share across unrelated sites.
Step 2
Marketing & SEO → Marketing Integrations → Facebook Pixel → paste Pixel ID. Fires PageView only.
Wix Admin → Marketing & SEO → Marketing Integrations.
Find 'Facebook Pixel.' Paste your Pixel ID. Save.
Visit live site in incognito. Click 4-5 pages.
Meta Events Manager → Test events → enter your URL → wait 60 seconds. Should see PageView events.
If PageView appears: native install is working for basic pageviews. Move to Step 3 to add ecommerce events via GTM.
Note: custom events (ViewContent, AddToCart, Purchase) do NOT fire from the native install.
Step 3
For real conversion tracking, use GTM. Remove native Wix pixel; add Meta tag in GTM with triggers for AddToCart, Purchase, ViewContent.
If GTM isn't installed yet, install it first (see GA4 tutorial — same process).
REMOVE Facebook Pixel ID from Marketing Integrations → Facebook Pixel. Avoids duplicate PageView.
In GTM: add Meta Pixel base code via Custom HTML tag. Trigger: All Pages.
Add AddToCart tag: Custom HTML → `fbq('track', 'AddToCart', { value: {{DLV - ecommerce.value}}, currency: {{DLV - ecommerce.currency}} });`. Trigger: Custom Event 'add_to_cart' (from Wix Stores dataLayer).
Add Purchase tag: Custom HTML → `fbq('track', 'Purchase', { value: {{DLV - ecommerce.value}}, currency: {{DLV - ecommerce.currency}}, event_id: {{DLV - ecommerce.transaction_id}} });`. Trigger: Custom Event 'purchase.'
Pass event_id for deduplication with CAPI.
Step 4
Browser pixels lose 30-50% of conversions to ITP + ad blockers. CAPI sends events server-side. Non-negotiable for any real Meta Ads budget.
Wix doesn't have native CAPI integration. Three workarounds: (1) Wix's official 'Meta Conversions API' app (Wix App Market — paid), (2) Zapier (Wix Stores order webhook → Zap → Meta CAPI), (3) Meta's CAPI Gateway (advanced).
Easiest path: Wix App Market → search 'Meta Conversions API' → install official app. Connects Wix Stores order events to Meta CAPI automatically.
Configure: paste your Pixel ID + Meta Access Token (generate in Events Manager → Settings → Conversions API → Generate Access Token).
Critical: ensure event_id matches between browser pixel (from Step 3) and CAPI events. Meta deduplicates by event_id.
Validate: Meta Events Manager → Test events → run a real test purchase. Both Browser and Server columns should show Purchase.
If only Browser shows: CAPI not connected. If only Server: browser pixel not firing on /thank-you. Both needed.
Step 5
Meta Events Manager → Aggregated Event Measurement → configure 8 ranked events for iOS 14.5+ users.
Events Manager → Aggregated Event Measurement → 'Configure Web Events.'
Add your domain (Wix domain). Pick 8 events, ranked by priority.
For ecommerce: 1. Purchase, 2. InitiateCheckout, 3. AddToCart, 4. ViewContent, 5. AddPaymentInfo, 6. Search, 7. Lead, 8. (custom).
For lead-gen: 1. Lead, 2. CompleteRegistration, 3. SubmitApplication, 4. Contact, 5. Schedule, 6. ViewContent, 7. PageView, 8. (custom).
Domain verification required: Meta gives a TXT or meta-tag verification. Add via Wix Admin → Settings → Custom Code → Header (for meta tag) or via DNS provider (TXT).
Without ranked events + domain verification, iOS 14.5+ users contribute zero conversion data.
Step 6
Run a real test order. Verify every event fires browser + server in Meta Events Manager.
Install Meta Pixel Helper Chrome extension.
Open site in incognito. Click 4-5 pages. Pixel Helper should show: PageView on every page, ViewContent on product pages, AddToCart on cart-add.
Run a real test purchase. Refund yourself after. Pixel Helper should show Purchase with correct value + currency.
Meta Events Manager → Test events: all events should appear with Browser + Server columns populated.
Wait 24h. Events Manager → Overview → confirm event volume looks reasonable. If Purchase fires way more than orders, event_id mismatch in CAPI.
Cross-check Meta Ads Manager → Conversions report after 48h. Purchase events should match Wix order count within 5-10%.
Step 7
Pixels break silently. Set a weekly review: Diagnostics, event volume, match quality.
Meta Events Manager → Diagnostics. Look for errors: missing parameters, low match quality, invalid event names.
Event match quality: aim for 7.0+ on Purchase events. Improve by passing hashed customer info via CAPI (email, phone, name).
Event volume: track weekly. Sudden 30%+ drop = ad blocker change, browser update, CAPI broken, or pixel accidentally removed.
Re-test after every Wix template/theme update. Theme changes can break CSS selectors used by GTM triggers.
Common mistakes
Using only Wix native Facebook Pixel field
What goes wrong: PageView fires but Purchase, AddToCart, ViewContent don't. Meta has no conversion data. Bid strategies optimize for clicks instead of conversions. CPA is 2-3x higher than it should be.
How to avoid: Use GTM with Wix Stores dataLayer triggers for Purchase, AddToCart, ViewContent. Remove native Wix pixel to avoid duplicate PageView.
Skipping Conversions API (CAPI)
What goes wrong: iOS 14.5+, Safari ITP, ad blockers strip 30-50% of browser pixel conversions. Without CAPI, those conversions are invisible. CPA inflates over 30-60 days.
How to avoid: Install Meta CAPI app from Wix App Market. Or use Zapier connecting Wix Stores order webhook to Meta CAPI endpoint.
Duplicate browser + server events without event_id
What goes wrong: Browser pixel sends Purchase, CAPI sends Purchase, no matching event_id. Meta can't deduplicate. Every purchase counted twice. ROAS reports look 2x reality. Bid targets wrong.
How to avoid: Pass event_id (Wix order ID) in both browser pixel fire AND CAPI call. Meta deduplicates automatically.
Not enabling Wix Stores ecommerce events
What goes wrong: Wix Stores doesn't push ecommerce events to dataLayer by default. GTM triggers find nothing to fire on. Purchase events never reach Meta.
How to avoid: Wix Admin → Settings → Stores → Marketing Integrations → Track ecommerce events → ON.
Hardcoded value in Purchase event
What goes wrong: Every Purchase event reports $0 or $1 regardless of actual order. Value-based bidding (Target ROAS) has nothing to optimize against.
How to avoid: Use GTM Variables ({{DLV - ecommerce.value}}, {{DLV - ecommerce.currency}}) to pass dynamic values. Test with a real purchase.
Pixel breaks after Wix template change
What goes wrong: You updated template, CSS selectors GTM uses for AddToCart trigger no longer exist. Events stop firing. Discovered 30-60 days later when ad spend reports show declining conversions.
How to avoid: After every Wix theme/template change, run Pixel Helper test on key flows. Update GTM selectors as needed.
Recap
Done — what's next
How to install Google Analytics 4 (GA4) on Wix
Read the next tutorial
Hand it off
Meta Pixel + CAPI on Wix is the most-broken setup we audit. Most owners install the native pixel, run ads, watch ROAS drop. A vetted Wix + Meta specialist at $14-16/hr installs the full stack (Pixel + GTM events + CAPI + AEM) in 2-4 hours, typically $80-200 total.
See specialist rates
Not in the core platform. Wix App Market has a paid 'Meta Conversions API' app that handles CAPI. Or use Zapier ($20-30/mo) to bridge Wix Stores order events to Meta CAPI manually.
Technically yes, practically no. Without CAPI, iOS 14.5+ users (50%+ of premium DTC traffic) contribute almost no conversion data. CPA inflates 30-60% over time. Set up CAPI before scaling paid spend.
Aim for 7.0+ out of 10 on Purchase events. Achieved by passing hashed customer info via CAPI: email, phone, name, address. Wix Stores passes some of this — verify in Events Manager Diagnostics.
Roughly 50 Purchase events per ad set per week minimum. New ad sets need 30+ conversions before exiting 'Learning' phase. Until then, performance is unstable.
Meta Pixel covers Facebook + Instagram. Same pixel, same events, same dashboard. No separate Instagram Pixel needed.
Wix
Wix has a 'Google Analytics' integration that requires zero technical work. The problem: it only fires PageView. Ecommerce events, form submits, and custom events don't fire without Tag Manager. Here's the real install.
Wix
Wix Stores is the right call for small DTC brands under 20 SKUs and budget under $50/mo. Beyond that, Shopify is the better choice. Here's the setup that works inside Wix's lane.
Wix
Wix improved its SEO significantly in 2022-2024 — but the defaults still leave most rankings on the table. The Wix SEO Wiz walks beginners through basics; the real work is what comes after.
Meta Ads
The browser pixel alone loses 20-30% of conversions on iOS. CAPI sends events from your server to Meta, recovering most of it. Three install paths: Shopify-native, server-side GTM, and direct API. We cover all three.
Squarespace
Squarespace has a 'Meta Pixel ID' field that fires base pageviews. The problem: it doesn't fire Purchase events, doesn't support Conversions API, and silently loses 30-50% of iOS attribution. Here's the real install.