catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

Add Meta Pixel analytics provider support

Open BC-AdamWard opened this issue 2 months ago • 2 comments

What/Why?

Add Meta Pixel (Facebook Pixel) analytics provider to Catalyst analytics framework. Implements standard e-commerce event tracking (ViewContent, AddToCart, RemoveFromCart, ViewCart, ViewCategory) with consent management support. Enables merchants to track events using Meta Pixel alongside or instead of Google Analytics.

  • Add MetaPixelProvider class implementing AnalyticsProvider interface
  • Update WebAnalyticsFragment to include metaPixel configuration
  • Update AnalyticsProvider component to support multiple providers
  • Add consent management integration for GDPR/CCPA compliance

Testing

  1. Add Meta Pixel to store settings or inline in the Catalyst component.
  2. Load storefront and validate pixel fires against meta pixel

Migration

Minor change

BC-AdamWard avatar Nov 19 '25 04:11 BC-AdamWard

🦋 Changeset detected

Latest commit: 0d7b5684bc323b075e04502b961ab51e9f989ca7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bigcommerce/catalyst-core Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Nov 19 '25 04:11 changeset-bot[bot]

@BC-AdamWard is attempting to deploy a commit to the BigCommerce Platform Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Nov 19 '25 04:11 vercel[bot]