K
K
kimqar2021-04-01 15:42:49
JavaScript
kimqar, 2021-04-01 15:42:49

Facebook Pixel Code how to pass the "price" value in the product card?

have the following code that listens for the "add to cart" event and handles

$(".primary-button_card").click(function () {
    fbq('track', 'AddToCart', {
        currency: 'USD',
    });
})

How to insert the value of the product price into the currency variable?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question