Given that you are reading this post, I assume you are already leveraging Facebook Ads to drive traffic to your Shopify store.

If not, you should certainly consider it – here is a great primer from the Shopify team that can get you started: “An Introduction to Facebook Ads for Ecommerce.”

If you are using Facebook Ads for your store today, I also hope you are making use of the Facebook Pixel – the Pixel is a truly powerful artifact to ensure you get the most out of your marketing dollars on the Facebook platform, and it is really easy to enable on your site. So, if you aren’t already doing it, it’s something you most certainly want to explore. Here is another fantastic post from the wonderful folks at Shopify on the subject: The Beginner’s guide to the new Facebook Pixel. As is evident from the post, the Facebook pixel now includes support for Standard Events which allows you to track what actions users are taking on your store. Each standard event tracks an action your customers will do while visiting your store.The full list of Standard Events is included in the post, so I won’t repeat them here. Once you connect your Shopify store and your Facebook Pixel account, Facebook will automatically start tracking data for these six Standard Events: ViewContent (productviews), AddToCart, InitiateCheckout, AddPaymentInfo, Purchase and Search. For any of the other Standard Events that you want to track, you’ll need to add custom code via Additional Scripts as explained here.

If you have the Swym Wishlist Plus app for your Shopify store, it’s a great way to drive engagement with your shoppers; it gives them a really simple way to bookmark their favorite products and save them for later.

To make the most of that engagement via your Facebook retargeting campaigns, you will want your Facebook Pixel tracking those Wishlist actions such that you are able to personalize your retargeting campaigns that much more effectively. The Facebook pixel does include AddToWishlist as a Standard event, but requires some custom code to be able to track those events. If your store has the Wishlist Plus app installed, we’ve made it very simple for you to enable that tracking. Here is the code snippet you’ll need to add to your store: (For instructions on how to add scripts to your store theme files, please refer to this post)

  var startListening = function(){
  window._swat.evtLayer.addEventListener(SwymTracker.JSEvents.addedToWishlist, function(e){
  var evtData = e.detail.d;
  /* Sample data format that gets passed
  evtData format –
  et: 4 for wishlist,
  dt: // product title
  du: // product full url
  epi: // variant id
  empi: // product id
  pr: // price
  iu: // image url
  /* Calling the FB Pixel tracking function w/ the right args */
  window.fbq(track, AddToWishlist, {
  content_ids: [evtData.empi],
  content_type: product_group,
  content_name: evtData.dt,
  content_category: evtData.ct,
  currency: SwymUtils.getOGData()[og:price:currency],
  window.SwymCallbacks = [];
view rawswym_fb_pixel.js hosted with ❤ by GitHub

You are now ready to start tracking AddToWishlist actions on your store. We hope this was useful – if there is any additional information on the topic that you’d like to see us include in this post, please let us know via your comments.

Helping e-commerce brands craft a more seamless experience for their customers

Helping e-commerce brands craft a more seamless experience for their customers

© 2019 Swym Corporation. ALL RIGHTS RESERVED. Swym Corporation 7700 Windrose Ave, Plano TX 75024

© 2019 Swym Corporation. ALL RIGHTS RESERVED.
Swym Corporation 7700 Windrose Ave, Plano TX 75024/p>