Adding a Facebook tracking pixel to the app store listing

Shopify Partner
13 0 3

Hi all, I've noticed that Shopify allow Google Remarketing and AdRoll tracking pixels added into the Shopify app store listing. Are there any plans to add in the ability to use a Facebook tracking pixel for things like custom audiences?

Example pixel below. I'd imagine all that should be added into the Shopify edit listing page is the ability to put in the pixel id.

<script>(function() {
  var _fbq = window._fbq || (window._fbq = []);
  if (!_fbq.loaded) {
    var fbds = document.createElement('script');
    fbds.async = true;
    fbds.src = '//';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(fbds, s);
    _fbq.loaded = true;
  _fbq.push(['addPixelId', 'yourpixelid']);
window._fbq = window._fbq || [];
window._fbq.push(['track', 'PixelInitialized', {}]);
<noscript><img height="1" width="1" alt="" style="display:none" src=";ev=PixelInitialized" /></noscript>



CTO of, JavaScript and design junkie
Shopify Partner
3 0 0

Hi Chris, have you ever found a solution for this? I'd love to add a Facebook pixel to my app listing as well. :)

New Member
1 0 0

If anyone has worked this out, Please share the method with us.
Thank you.