How to pass product price to facebook

[ad_1]

I setup pixel using gtm in my woocommerce site. Now I want to pass the product price to facebook on purchase event. I googled about that, someone said enable data layer but I have no idea how to do that. I saw in another place that ecommerce.purchase.actionField.revenue should be given in the variable of gtm. Then call the variable inside the tag. Even after trying the same, it is not happening.

Is there an easy solution to this?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer