Support » Plugin: Google Tag Manager for WordPress » getting the value of total order for Facebook Pixel

  • Resolved ashkanahmadi

    (@ashkanahmadi)


    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:

    https://prnt.sc/r49qh9

    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: r49t1x

    Thank you and I would appreciate any extra information (I’m not a coder or developer).

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘getting the value of total order for Facebook Pixel’ is closed to new replies.