Facebook Conversion Tracking with Shopify

0 No tags Permalink 1

Facebook Advertising is the number one driver of sales for my Shopify store (and a significant driver for Amazon).

The great thing about running Facebook Ads to Shopify is that you can see the direct cost/return within the Facebook dashboard. Facebook has made a lot of changes, mostly for the better, so the data might take a bit longer to find.

You’ll need to set up a conversion pixel first. Once you have your pixel,

<!-- Facebook Conversion Code for Shopify -->
{% if page.title == "Title of the Conversion page" %}<script>// <![CDATA[
(function() {   var _fbq = window._fbq || (window._fbq = []);   if (!_fbq.loaded) {     var fbds = document.createElement('script');     fbds.async = true;     fbds.src = '//connect.facebook.net/en_US/fbds.js';     var s = document.getElementsByTagName('script')[0];     s.parentNode.insertBefore(fbds, s);     _fbq.loaded = true;   } })(); window._fbq = window._fbq || []; window._fbq.push(['track', '#############', {'value':'0.00','currency':'USD'}]);
// ]]></script><noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=#############&amp;cd[value]=0&amp;cd[currency]=USD&amp;noscript=1"; /></noscript>{% endif %}

No Comments Yet.

Leave a Reply

Your email address will not be published. Required fields are marked *