Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- fbq('track', 'AddToCart',
- {
- value: 2, // Price (or sum of prices if quantity is more than 1) for the product added to cart
- currency: 'EUR',
- contents: [ // Array with the product added to cart
- {
- 'id': 'P12345',
- 'title': 'Android Warhol T-Shirt',
- 'item_price': 2,
- 'category': 'Apparel/T-Shirts', // Up to 5 levels
- 'brand': 'Google',
- 'quantity': 1
- }
- ],
- content_type: 'product'
- }
- );
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement