(function(w,d,t,u){ var a=d.createElement(t);a.async=1;a.src=u+"?url="+encodeURIComponent(w.location.href)+"&ref="+encodeURIComponent(d.referrer); var s=d.getElementsByTagName(t)[0]; s.parentNode.insertBefore(a,s); })(window, document, 'script', 'https://a.ad.gt/api/v1/u/matches/28')
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '305178966511386'); fbq('track', "PageView");
var fbPixelInitiateCheckout = function() { fbq('track', 'InitiateCheckout', { content_type: 'product', content_ids: Shopify.ajaxCart.items.map(function(item) { return item.product_id }), value: Shopify.ajaxCart.items_subtotal_price / 100, currency: 'USD' }); } $(function() { $('input[type=submit].checkout-cart').click(fbPixelInitiateCheckout); $('body').on('ajaxCart.afterCartLoad', function() { $('#ajaxcart-form button.cart__checkout').click(fbPixelInitiateCheckout); }); });
Shopping Cart

Bastille

Doom Days Vinyl LP

TRACKLIST

  1. QUARTER PAST MIDNIGHT
  2. BAD DECISIONS
  3. THE WAVES
  4. DIVIDE
  5. MILLION PIECES
  6. DOOM DAYS
  7. NOCTURNAL CREATURES
  8. 4AM
  9. ANOTHER PLACE
  10. THOSE NIGHTS
  11. JOY
fbq('track', 'ViewContent', { content_ids: [ 3524294606931 ], content_name: "Doom Days Vinyl LP", content_type: 'product', value: 25, currency: 'USD' }); // Add item to cart event listener $(document).ready(function(){ $(".AddToCart").click(function(){ fbq('track', 'AddToCart', { content_ids: [ 3524294606931 ], content_name: "Doom Days Vinyl LP", content_type: 'product', value: 25, currency: 'USD' }); }); });