Advertisement
borlabs

Facebook Conversion Tracking

Jun 7th, 2019
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (typeof fbq !== "undefined") {
  2.     fbq("track", "Purchase", {
  3.         value: 19.99,
  4.         currency: "EUR",
  5.         contents: [{
  6.             id: 12345,
  7.             quantity: 1,
  8.             item_price: 19.99
  9.         }],
  10.         content_type: 'product'
  11.     });
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement