(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', '2067232043341148'); 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: Shopify.ajaxCart.currency }); } $(function() { $('#cart-page-form input[type=submit]').click(fbPixelInitiateCheckout); $('body').on('ajaxCart.afterCartLoad', function() { $('#ajaxcart-form button.cart__checkout').click(fbPixelInitiateCheckout); }); });
Shopping Cart

OneRepublic Official Store

Dreaming Out Loud CD

Regular price $13.00

Tracklist:

1. Say (All I Need)
2. Mercy
3. Stop and Stare
4. Apologize
5. Goodbye, Apathy
6. All Fall Down
7. Tyrant
8. Prodigal
9. Won’t Stop
10. All We Are
11. Someone to Save You
12. Come Home
13. Apologize (Timbaland feat. OneRepublic)

fbq('track', 'ViewContent', { content_ids: [ 4345314574449 ], content_name: "Dreaming Out Loud CD", content_type: 'product', value: 13.00, currency: 'USD' }); // Add item to cart event listener $(document).ready(function(){ $("#AddToCart").click(function(){ fbq('track', 'AddToCart', { content_ids: [ 4345314574449 ], content_name: "Dreaming Out Loud CD", content_type: 'product', value: 13.00, currency: 'USD' }); }); });