Home > Technical & Creative Skills > Tracking Campaigns

Tracking Multiple Units Sold Per Order (7)


04-28-2014 05:40 PM #1 zerosixty (Member)
Tracking Multiple Units Sold Per Order

Hey guys,
I'm running a facebook campaign that direct links to a Shopify page (FB pixel installed on checkout page). When reviewing the orders, many people are purchasing more than one unit...Is it possible to track the # of units sold per order in real time? Any help would be much appreciated!


04-28-2014 05:57 PM #2 richierich (Member)

You using GA? Looks for GA Events. These events can be fired when user adds your product to cart.


04-28-2014 06:05 PM #3 zerosixty (Member)

Hm well what if the user adds 4 units to the cart but doesn't checkout?


04-28-2014 06:40 PM #4 richierich (Member)

Quote Originally Posted by zerosixty View Post
Hm well what if the user adds 4 units to the cart but doesn't checkout?
GA events can be customized accordingly. Read here:

https://developers.google.com/analyt...ntTrackerGuide


04-29-2014 06:27 AM #5 zeno (Administrator)

You could do this with Facebook with some craftiness. You could dynamically add the value of each item together and then insert that into the pixel since it has a $ value and currency parameter.


04-29-2014 05:59 PM #6 zerosixty (Member)

Quote Originally Posted by zeno View Post
You could do this with Facebook with some craftiness. You could dynamically add the value of each item together and then insert that into the pixel since it has a $ value and currency parameter.
That sounds intriguing...what would the code look like to do that?


04-29-2014 09:10 PM #7 zeno (Administrator)

Can't say exactly - you'd want to get a coder to do it for you after inspecting the system... but on the checkout page you will have the total order value calculated and displayed somehow.

All you would need to do is also take that value, clean it to make it a number only, and jam it into the pixel - e.g. as in the parts as shown below

fb_param.value = '%%checkoutvalue%%';
fb_param.currency = 'USD';

<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/offsite_event.php?id=6015152284971&amp;value=%%che ckoutvalue%%&amp;currency=USD" /></noscript>


Home > Technical & Creative Skills > Tracking Campaigns