getting the value of total order for Facebook Pixel
-
Hi
I’m using this plugin to get the Total value on the WooCommerce thank you page and feed it into Google Tag Manager and eventually Facebook Pixel. When I enable debugging mode on GTM, this is what I saw on the Order Received page:
I have made a Data Layer variable in GTM and under Data Layer Variable Name, I want to include total but the problem is that total is under totals and I don’t know how to go a level down. Can anyone please help?
Here are screenshots of the Tag and Variable in GTM
Variable: https://prnt.sc/r49svw
FB Purchase code: r49t1xThank you and I would appreciate any extra information (I’m not a coder or developer).
- The topic ‘getting the value of total order for Facebook Pixel’ is closed to new replies.