Meta Pixel

Stashlist fires the standard AddToWishlist Meta Pixel event automatically whenever a customer saves a product. No configuration is needed in Stashlist; it works with whatever pixel is already on your store.

How it works

When a customer clicks the wishlist heart, Stashlist checks for window.fbq on the page. If it's present, it calls:

fbq('track', 'AddToWishlist', {
  content_ids:  ['<variantId>'],
  content_type: 'product',
  content_name: '<productTitle>',
  value:         <price>,
  currency:      '<storeCurrency>',
});

This fires on the client side, in the customer's browser, exactly like any other pixel event on your storefront.

Setup

No setup is required in Stashlist. Just make sure your Meta Pixel is installed on your store through one of these methods:

  • Shopify's Facebook & Instagram sales channel: the recommended approach. Shopify injects the pixel on every page automatically.
  • Your theme: add the pixel base code to theme.liquid directly.
  • A Cookie Consent app: if you use a consent management app, make sure it loads fbq before customers interact with the page.
Once your pixel is on the store, Stashlist's AddToWishlist events will appear in Meta Events Manager automatically. No extra steps.

Verifying it works

  1. Install the Meta Pixel Helper Chrome extension.
  2. Visit a product page on your store and click the wishlist heart.
  3. Open the Pixel Helper and you should see an AddToWishlist event with the product's variant ID, title, price, and currency.

Using the event in Meta Ads

Once AddToWishlist events are flowing you can use them to build high-intent retargeting audiences in Meta Ads Manager:

  • Go to Audiences → Create Audience → Custom Audience → Website
  • Set the event to AddToWishlist and choose a time window (e.g. last 30 days)
  • Use this audience for retargeting campaigns; customers who wishlisted a product are significantly more likely to convert than general site visitors
Lookalike audiences: Once you have at least 100 matched users in your AddToWishlist audience, you can create a lookalike audience to find new customers with similar purchase intent.